Elements.pyECSS.math_utilities.lookatLH¶
- Elements.pyECSS.math_utilities.lookatLH(eye, target, up)[source]¶
Utility function to calculate a 4x4 camera lookat matrix, based on the eye, target and up camera vectors: based on the gluLookAt() convenience method of https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluLookAt.xml and the implementation of https://github.com/g-truc/glm/blob/master/glm/ext/matrix_transform.inl and https://github.com/Zuzu-Typ/PyGLM/blob/master/wiki/function-reference/stable_extensions/matrix_transform.md#lookAt-function
- Parameters
eye ([type]) – [description]
target ([type]) – [description]
up ([type]) – [description]