Elements.pyECSS.math_utilities.frustum¶
- Elements.pyECSS.math_utilities.frustum(xmin, xmax, ymin, ymax, zmin, zmax)[source]¶
Alternative 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
xmin ([type]) – [description]
xmax ([type]) – [description]
ymin ([type]) – [description]
ymax ([type]) – [description]
zmin ([type]) – [description]
zmax ([type]) – [description]