Camera

Camera

The camera for the the WebGL renderer.

Methods

# setProjection(fov, near, far)

Sets the projection matrix for the camera.

Parameters:
Name Type Default Description
fov number toRad(60)

The field of view in radians.

near number 1

The near clip plane in world units.

far number 10000

The far clip plane in world units.