net.java.joglutils.msg.elements
Class GLProjectionMatrixElement
java.lang.Object
net.java.joglutils.msg.elements.Element
net.java.joglutils.msg.elements.ProjectionMatrixElement
net.java.joglutils.msg.elements.GLProjectionMatrixElement
public class GLProjectionMatrixElement
- extends ProjectionMatrixElement
Represents the projection matrix, which transforms view-space
coordinates into screen-space coordinates, and performs
side-effects in OpenGL.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLProjectionMatrixElement
public GLProjectionMatrixElement()
newInstance
public Element newInstance()
- Description copied from class:
Element
- Creates a new instance initialized to the default values for the
state element. All concrete Element subclasses must implement
this operation.
- Overrides:
newInstance
in class ProjectionMatrixElement
getInstance
public static GLProjectionMatrixElement getInstance(State state)
enable
public static void enable(State defaultState)
push
public void push(State state)
- Description copied from class:
Element
- Pushes the element, allowing for side effects to occur. Default method does nothing.
- Overrides:
push
in class ProjectionMatrixElement
setElt
public void setElt(Mat4f matrix)
- Description copied from class:
ProjectionMatrixElement
- Sets the projection matrix in this element to the given one.
- Overrides:
setElt
in class ProjectionMatrixElement