Lines Matching refs:Vec2
3 use crate::{Mat2, Mat3, Mat3A, Vec2, Vec3A};
11 pub translation: Vec2,
21 translation: Vec2::ZERO,
29 translation: Vec2::ZERO,
35 translation: Vec2::NAN,
40 pub const fn from_cols(x_axis: Vec2, y_axis: Vec2, z_axis: Vec2) -> Self { in from_cols() argument
52 translation: Vec2::from_slice(&m[4..6]),
98 translation: Vec2::from_slice(&slice[4..6]), in from_cols_slice()
116 pub fn from_scale(scale: Vec2) -> Self { in from_scale()
119 translation: Vec2::ZERO, in from_scale()
128 translation: Vec2::ZERO, in from_angle()
134 pub fn from_translation(translation: Vec2) -> Self { in from_translation()
146 translation: Vec2::ZERO, in from_mat2()
156 pub fn from_mat2_translation(matrix2: Mat2, translation: Vec2) -> Self { in from_mat2_translation()
169 pub fn from_scale_angle_translation(scale: Vec2, angle: f32, translation: Vec2) -> Self { in from_scale_angle_translation() argument
182 pub fn from_angle_translation(angle: f32, translation: Vec2) -> Self { in from_angle_translation()
211 pub fn transform_point2(&self, rhs: Vec2) -> Vec2 { in transform_point2() argument
220 pub fn transform_vector2(&self, rhs: Vec2) -> Vec2 { in transform_vector2() argument
279 type Target = crate::deref::Cols3<Vec2>;