Lines Matching refs:Vec3
3 use crate::{Mat3, Mat3A, Mat4, Quat, Vec3, Vec3A};
118 pub fn from_scale(scale: Vec3) -> Self { in from_scale()
136 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle() argument
175 pub fn from_translation(translation: Vec3) -> Self { in from_translation()
199 pub fn from_mat3_translation(mat3: Mat3, translation: Vec3) -> Self { in from_mat3_translation()
213 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation() argument
230 pub fn from_rotation_translation(rotation: Quat, translation: Vec3) -> Self { in from_rotation_translation()
262 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation() argument
270 let scale = Vec3::new( in to_scale_rotation_translation()
276 glam_assert!(scale.cmpne(Vec3::ZERO).all()); in to_scale_rotation_translation()
296 pub fn look_to_lh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_lh() argument
305 pub fn look_to_rh(eye: Vec3, dir: Vec3, up: Vec3) -> Self { in look_to_rh() argument
328 pub fn look_at_lh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_lh() argument
341 pub fn look_at_rh(eye: Vec3, center: Vec3, up: Vec3) -> Self { in look_at_rh() argument
348 pub fn transform_point3(&self, rhs: Vec3) -> Vec3 { in transform_point3() argument
362 pub fn transform_vector3(&self, rhs: Vec3) -> Vec3 { in transform_vector3() argument