pub struct ProjectionMatrixBuilder {
pub yaw: f64,
pub pitch: f64,
pub scale: f64,
/* private fields */
}
Expand description
The helper struct to build a projection matrix
Fields
yaw: f64
Specifies the yaw of the 3D coordinate system
pitch: f64
Specifies the pitch of the 3D coordinate system
scale: f64
Specifies the scale of the 3D coordinate system
Implementations
sourceimpl ProjectionMatrixBuilder
impl ProjectionMatrixBuilder
Trait Implementations
sourceimpl Clone for ProjectionMatrixBuilder
impl Clone for ProjectionMatrixBuilder
sourcefn clone(&self) -> ProjectionMatrixBuilder
fn clone(&self) -> ProjectionMatrixBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ProjectionMatrixBuilder
impl Default for ProjectionMatrixBuilder
impl Copy for ProjectionMatrixBuilder
Auto Trait Implementations
impl RefUnwindSafe for ProjectionMatrixBuilder
impl Send for ProjectionMatrixBuilder
impl Sync for ProjectionMatrixBuilder
impl Unpin for ProjectionMatrixBuilder
impl UnwindSafe for ProjectionMatrixBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more