Template Function pmp::viewport_matrix

Function Documentation

template<typename Scalar>
Mat4<Scalar> pmp::viewport_matrix(Scalar l, Scalar b, Scalar w, Scalar h)

OpenGL viewport matrix with parameters left, bottom, width, height.