pub fn comp_max<T: Number, const R: usize, const C: usize>( m: &TMat<T, R, C>, ) -> T
The maximum of every component of the given matrix or vector.
let vec = glm::vec2(3.0, 4.0); assert_eq!(4.0, glm::comp_max(&vec)); let mat = glm::mat2(0.0, 1.0, -3.0, 3.0); assert_eq!(3.0, glm::comp_max(&mat));
comp_add()
comp_max()
comp_min()
max()
max2()
max3()
max4()