Enum dae_parser::Transform
source · pub enum Transform {
LookAt(LookAt),
Matrix(Matrix),
Rotate(Rotate),
Scale(Scale),
Skew(Skew),
Translate(Translate),
}
Expand description
A transformation, that can be represented as a matrix (but may be expressed in another way for convenience).
Variants§
LookAt(LookAt)
Contains a position and orientation transformation suitable for aiming a camera.
Matrix(Matrix)
A generic 4x4 matrix.
Rotate(Rotate)
An axis-angle rotation.
Scale(Scale)
A scale along the three dimentions.
Skew(Skew)
A skew deformation.
Translate(Translate)
A translation by a vector.
Implementations§
Trait Implementations§
source§impl From<RigidTransform> for Transform
impl From<RigidTransform> for Transform
source§fn from(tr: RigidTransform) -> Self
fn from(tr: RigidTransform) -> Self
Converts to this type from the input type.