Example usage for org.lwjgl.opengl GL11 GL_MODELVIEW

List of usage examples for org.lwjgl.opengl GL11 GL_MODELVIEW

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 GL_MODELVIEW.

Prototype

int GL_MODELVIEW

To view the source code for org.lwjgl.opengl GL11 GL_MODELVIEW.

Click Source Link

Document

MatrixMode

Usage

From source file:org.terasology.rendering.cameras.OculusStereoCamera.java

License:Apache License

@Deprecated
public void loadModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(getViewMatrix()));
}

From source file:org.terasology.rendering.cameras.OculusStereoCamera.java

License:Apache License

@Deprecated
public void loadNormalizedModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(normViewMatrix));
}

From source file:org.terasology.rendering.cameras.OpenVRStereoCamera.java

License:Apache License

@Override
@Deprecated/* w  ww. j a  v a 2  s. c om*/
public void loadProjectionMatrix() {
    glMatrixMode(GL_PROJECTION);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(getProjectionMatrix()));
    glMatrixMode(GL11.GL_MODELVIEW);
}

From source file:org.terasology.rendering.cameras.OpenVRStereoCamera.java

License:Apache License

@Override
@Deprecated
public void loadModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(getViewMatrix()));
}

From source file:org.terasology.rendering.cameras.OpenVRStereoCamera.java

License:Apache License

@Override
@Deprecated
public void loadNormalizedModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(normViewMatrix));
}

From source file:org.terasology.rendering.cameras.OrthographicCamera.java

License:Apache License

public void loadProjectionMatrix() {
    glMatrixMode(GL_PROJECTION);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(projectionMatrix));
    glMatrixMode(GL11.GL_MODELVIEW);
}

From source file:org.terasology.rendering.cameras.OrthographicCamera.java

License:Apache License

public void loadModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(viewMatrix));
}

From source file:org.terasology.rendering.cameras.OrthographicCamera.java

License:Apache License

public void loadNormalizedModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(normViewMatrix));
}

From source file:org.terasology.rendering.cameras.PerspectiveCamera.java

License:Apache License

public void loadProjectionMatrix() {
    glMatrixMode(GL_PROJECTION);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(getProjectionMatrix()));
    glMatrixMode(GL11.GL_MODELVIEW);
}

From source file:org.terasology.rendering.cameras.PerspectiveCamera.java

License:Apache License

public void loadModelViewMatrix() {
    glMatrixMode(GL11.GL_MODELVIEW);
    GL11.glLoadMatrix(MatrixUtils.matrixToFloatBuffer(getViewMatrix()));
}