Matrix4x3d.setLookAt
- Matrix4x3d setLookAt(Vector3d eye, Vector3d center, Vector3d up)
struct Matrix4x3d
ref public return
setLookAt
- Matrix4x3d setLookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)
doml matrix_4x3d Matrix4x3d
constructorsfunctionsstatic variablesvariables
Set this matrix to be a "lookat" transformation for a right-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 #setLookAt(double, double, double, double, double, double, double, double, double) setLookAt()} instead. <p> In order to apply the lookat transformation to a previous existing transformation, use {@link #lookAt(Vector3d, Vector3d, Vector3d) lookAt()}.
@see #setLookAt(double, double, double, double, double, double, double, double, double) @see #lookAt(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