Matrix4x3d.setLookAtLH
- Matrix4x3d setLookAtLH(Vector3d eye, Vector3d center, Vector3d up)
- Matrix4x3d setLookAtLH(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)
matrix_4x3d Matrix4x3d
constructorsfunctionsstatic variablesvariables
Set this matrix to be a "lookat" transformation for a left-handed coordinate system, that aligns <code>+z</code> with <code>center - eye</code>. <p> In order to not make use of vectors to specify <code>eye</code>, <code>center</code> and <code>up</code> but use primitives, like in the GLU function, use {@link #setLookAtLH(double, double, double, double, double, double, double, double, double) setLookAtLH()} instead. <p> In order to apply the lookat transformation to a previous existing transformation, use {@link #lookAtLH(Vector3d, Vector3d, Vector3d) lookAt()}.
@see #setLookAtLH(double, double, double, double, double, double, double, double, double) @see #lookAtLH(Vector3d, Vector3d, Vector3d)
@param eye the position of the camera @param center the point in space to look at @param up the direction of 'up' @return this