Elements.pyECSS.math_utilities.perspective¶
- Elements.pyECSS.math_utilities.perspective(fovy, aspect, near, far)[source]¶
Perspective projection matrix creation function, where the viewing volume is a truncated pyramid. Original projection matrices defined in http://www.glprogramming.com/red/appendixf.html and in http://www.glprogramming.com/red/chapter03.html and https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPerspective.xml Tested also again glm similar functions.
- Parameters
fovy ([type]) – [description]
aspect ([type]) – [description]
near ([type]) – [description]
far ([type]) – [description]