Struct caper::types::Camera [] [src]

pub struct Camera {
    pub pos: Vector3,
    pub euler_rot: Vector3,
}

struct for abstracting the camera state

Fields

The position of the camera in 3d space

The euler rotation of the camera

Trait Implementations

impl Copy for Camera
[src]

impl Clone for Camera
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Camera
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.