Struct kiss3d::camera::FirstPersonStereo [] [src]

pub struct FirstPersonStereo { /* fields omitted */ }

First-person camera mode.

Methods

impl FirstPersonStereo
[src]

Creates a first person camera with default sensitivity values.

Creates a new first person camera with default sensitivity values.

Changes the orientation and position of the camera to look at the specified point.

The point the camera is looking at.

return Inter Pupilary Distance

change Inter Pupilary Distance

Trait Implementations

impl Debug for FirstPersonStereo
[src]

Formats the value using the given formatter.

impl Camera for FirstPersonStereo
[src]

The clipping planes, aka. (znear, zfar).

The imaginary middle eye camera view transformation (i-e transformation without projection).

Handle a mouse event.

The camera position.

The transformation applied by the camera to transform a point in world coordinates to a point in device coordinates. Read more

The transformation applied by the camera to transform point in device coordinates to a point in world coordinate. Read more

Update the camera. This is called once at the beginning of the render loop.

Upload the camera transformation to the gpu. This can be called multiple times on the render loop. Read more

The number of passes required by this camera.

Indicates that a pass will begin.

Indicates that the scene has been rendered and the post-processing is being run.

Converts a 3d point to 2d screen coordinates, assuming the screen has the size size.

Converts a point in 2d screen coordinates to a ray (a 3d position and a direction). Read more