Template Function pmp::scaling_matrix(const Vector<Scalar, 3>&)

Function Documentation

template<typename Scalar>
Mat4<Scalar> pmp::scaling_matrix(const Vector<Scalar, 3> &s)

OpenGL matrix for scaling x/y/z by the components of s.