[−][src]Trait gut::ops::transform::Rotated
Required methods
fn rotated(self, u: [T; 3], theta: T) -> Self
Return a version of self
rotated about the unit vector u
by the given angle theta
(in
radians).
Note that it is assumed that u
is indeed a unit vector, no further normalization should
be performed.
fn rotated_by_matrix(self, mtx: [[T; 3]; 3]) -> Self
Return a version of self
rotated using the given column-major rotation matrix
fn rotated_by_vector(self, e: [T; 3]) -> Self
Return a version of self
rotated about the Euler vector e
.