Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

use spread syntax for ortho camera calculation arguments #1

@kfarr

Description

@kfarr

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
Use Spread syntax instead of pulling out each item in array

this.orthoCamera = new THREE.OrthographicCamera(orthoCoords[0],orthoCoords[1],orthoCoords[2],orthoCoords[3],orthoCoords[4],orthoCoords[5]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions