Orthographic camera from THREE.JS with some extra convenience
functionalities.
- Source:
Example
//
//
Methods
center()
Center slice in the camera FOV.
It also updates the controllers properly.
We can center a camera from the front or from the back.
- Source:
init()
Initialize orthographic camera variables
- Source:
invertColumns()
Invert rows in the current slice.
Inverting rows in 1 step:
* Look at the slice from the other side
- Source:
invertRows()
Invert rows in the current slice.
Inverting rows in 2 steps:
* Flip the "up" vector
* Look at the slice from the other side
- Source:
rotate()
Pi/2 rotation around the zCosine axis.
Clock-wise rotation from the user point of view.
- Source: