[][src]Type Definition vec_arith::Quat32

type Quat32 = Vec4<f32>;

Methods

impl Quat32
[src]

pub fn from_rotation_x(angle: f32) -> Self
[src]

pub fn from_rotation_y(angle: f32) -> Self
[src]

pub fn from_rotation_z(angle: f32) -> Self
[src]

pub fn from_axis_angle(axis: Vec3<f32>, angle: f32) -> Self
[src]

pub fn to_axis_angle(self) -> (Vec3<f32>, f32)
[src]

pub fn rotate_x_local(self, angle: f32) -> Self
[src]

pub fn rotate_y_local(self, angle: f32) -> Self
[src]

pub fn rotate_z_local(self, angle: f32) -> Self
[src]

pub fn rotate_x(self, angle: f32) -> Self
[src]

pub fn rotate_y(self, angle: f32) -> Self
[src]

pub fn rotate_z(self, angle: f32) -> Self
[src]

pub fn rotate_axis(self, axis: Vec3<f32>, angle: f32) -> Self
[src]