Template Function pmp::ortho_matrix

Function Documentation

template<typename Scalar>
Mat4<Scalar> pmp::ortho_matrix(Scalar left, Scalar right, Scalar bottom, Scalar top, Scalar zNear = -1, Scalar zFar = 1)

OpenGL orthogonal projection matrix with parameters left, right, bottom, top, near, far