Elements.pyECSS.math_utilities.ortho¶
- Elements.pyECSS.math_utilities.ortho(left, right, bottom, top, near, far)[source]¶
Orthographic projection matrix creation function, where the viewing volume is a rectangular parallelepiped, or more informally, a box. Original projection matrices defined in http://www.glprogramming.com/red/appendixf.html and in http://www.glprogramming.com/red/chapter03.html. Tested also again glm similar functions. For more on projections check: http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/
- Parameters
left ([float]) – [coordinates of projection unit cube]
right ([float]) – [coordinates of projection unit cube]
bottom ([float]) – [coordinates of projection unit cube]
top ([float]) – [coordinates of projection unit cube]
near ([float]) – [coordinates of near clipping plane]
far ([float]) – [coordinates of far clipping plane]