Struct caper::types::CamState
[−]
[src]
pub struct CamState { pub cam_pos: Vector3, pub cam_rot: Vector3, }
struct for abstracting the camera state
Fields
cam_pos: Vector3
The position of the camera in 3d space
cam_rot: Vector3
The euler rotation of the camera
Trait Implementations
impl Copy for CamState
[src]
impl Clone for CamState
[src]
fn clone(&self) -> CamState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more