Uses of Class
com.blackrook.gloop.opengl.math.Matrix4F
Packages that use Matrix4F
Package
Description
Contains OpenGL 1.X implementations.
Contains OpenGL 2.X implementations.
Contains OpenGL 3.X implementations.
Contains math-centric structures.
-
Uses of Matrix4F in com.blackrook.gloop.opengl.gl1
Methods in com.blackrook.gloop.opengl.gl1 with parameters of type Matrix4FModifier and TypeMethodDescriptionvoidOGL11Graphics.matrixGet(MatrixMode matrixType, Matrix4F matrix) Reads a current matrix into a matrix.voidOGL11Graphics.matrixMultiply(Matrix4F matrix) Multiplies a matrix into the current selected matrix.voidLoads a matrix's contents into the current selected matrix. -
Uses of Matrix4F in com.blackrook.gloop.opengl.gl2
Methods in com.blackrook.gloop.opengl.gl2 with parameters of type Matrix4FModifier and TypeMethodDescriptionvoidOGL20Graphics.setProgramUniformMatrix4(int locationId, Matrix4F matrix) Sets a uniform matrix (mat4) value on the currently-bound program. -
Uses of Matrix4F in com.blackrook.gloop.opengl.gl3
Methods in com.blackrook.gloop.opengl.gl3 with parameters of type Matrix4FModifier and TypeMethodDescriptionvoidReads a current matrix into a matrix.voidOGL30Graphics.matrixGet(MatrixMode matrixType, Matrix4F matrix) -
Uses of Matrix4F in com.blackrook.gloop.opengl.math
Methods in com.blackrook.gloop.opengl.math that return Matrix4FModifier and TypeMethodDescriptionMatrix4F.aspectOrtho(float aspect, float left, float right, float bottom, float top, float zNear, float zFar) Multiplies an aspect-corrected orthographic projection matrix into this one.MatrixStack.aspectOrtho(float targetAspect, float left, float right, float bottom, float top, float near, float far) Multiplies the current matrix by an aspect-adjusted orthographic projection matrix using the canvas dimensions.Matrix4F.copy()Matrix4F.frustum(float left, float right, float bottom, float top, float zNear, float zFar) Multiplies a frustum projection matrix into this one.MatrixStack.frustum(float left, float right, float bottom, float top, float near, float far) Multiplies the current matrix by a frustum projection matrix.MatrixStack.identity()Sets the topmost matrix to the identity matrix.Matrix4F.lookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) Multiplies a "look at" perspective matrix into this one.MatrixStack.lookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) Multiplies a "look at" matrix to the current matrix.MatrixStack.multiply(float[] values) Multiplies the topmost matrix with another matrix.Multiplies the topmost matrix with another matrix.static Matrix4FMatrix4F.newIdentity()Matrix4F.ortho(float left, float right, float bottom, float top, float zNear, float zFar) Multiplies a orthographic projection matrix into this one.MatrixStack.ortho(float left, float right, float bottom, float top, float near, float far) Multiplies the current matrix by an orthographic projection matrix.MatrixStack.peek()Matrix4F.perspective(float fov, float aspect, float zNear, float zFar) Multiplies a perspective projection matrix into this one.MatrixStack.perspective(float fov, float aspect, float near, float far) Multiplies the current matrix by a symmetric perspective projection matrix.MatrixStack.pop()Pops the topmost matrix off the stack.MatrixStack.push()Pushes a copy of the topmost matrix onto the stack.Matrix4F.reset()Resets this matrix to the identity matrix.Matrix4F.rotateX(float degrees) Multiplies a X-axis rotation matrix into this one.MatrixStack.rotateX(float degrees) Rotates the current matrix by an amount of DEGREES around the X-Axis.Matrix4F.rotateY(float degrees) Multiplies a Y-axis rotation matrix into this one.MatrixStack.rotateY(float degrees) Rotates the current matrix by an amount of DEGREES around the Y-Axis.Matrix4F.rotateZ(float degrees) Multiplies a Z-axis rotation matrix into this one.MatrixStack.rotateZ(float degrees) Rotates the current matrix by an amount of DEGREES around the Z-Axis.Matrix4F.scale(float scalar) Multiplies a scaling matrix into this one.Matrix4F.scale(float scaleX, float scaleY, float scaleZ) Multiplies a scaling matrix into this one.MatrixStack.scale(float x, float y, float z) Scales the current matrix by a set of scalars that correspond to each axis.MatrixStack.set(float[] values) Sets the topmost matrix to another matrix.Sets the topmost matrix to another matrix.Matrix4F.shear(float shear) Multiplies a shearing matrix into this one.Matrix4F.translate(float x, float y, float z) Multiplies a translation matrix into this one.MatrixStack.translate(float x, float y, float z) Translates the current matrix by a set of units.Methods in com.blackrook.gloop.opengl.math with parameters of type Matrix4FModifier and TypeMethodDescriptionvoidCopies this Matrix into another.Multiplies the topmost matrix with another matrix.voidMatrix4F.multiplyLeft(Matrix4F matrix) Multiplies this matrix with another.voidMatrix4F.multiplyRight(Matrix4F matrix) Multiplies this matrix with another.voidSets all positions in this matrix to a set of values from another.Sets the topmost matrix to another matrix.