Struct caper::types::CamState [] [src]

pub struct CamState {
    pub cam_pos: Vector3,
    pub cam_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 CamState
[src]

impl Clone for CamState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CamState
[src]

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

This method tests for !=.