29package com.jogamp.opengl.test.junit.math;
31import org.junit.Before;
33import org.junit.FixMethodOrder;
34import org.junit.runners.MethodSorters;
36import com.jogamp.opengl.util.PMVMatrix;
37import com.jogamp.junit.util.JunitTracer;
38import com.jogamp.math.Matrix4f;
39import com.jogamp.math.Vec3f;
40import com.jogamp.opengl.fixedfunc.GLMatrixFunc;
42import static org.junit.Assert.assertEquals;
47@FixMethodOrder(MethodSorters.NAME_ASCENDING)
53 public void setUp() throws Exception {
104 public static void main(
final String args[]) {
Basic 4x4 float matrix implementation using fields for intensive use-cases (host operations).
3D Vector based upon three float components.
final Matrix4f getMv()
Returns the modelview matrix (Mv).
static void main(final String args[])
void testLookAtNegZIsNoOp()
PMVMatrix implements a subset of the fixed function pipeline GLMatrixFunc using PMVMatrix4f.
final void glMatrixMode(final int matrixName)
Sets the current matrix mode.
final void gluLookAt(final Vec3f eye, final Vec3f center, final Vec3f up)
Multiply the current matrix with the eye, object and orientation, i.e.
Subset of OpenGL fixed function pipeline's matrix operations.
static final int GL_MODELVIEW
Matrix mode modelview.