Uses of Class
de.arstwo.twotil.math.Matrix4f
Packages that use Matrix4f
-
Uses of Matrix4f in de.arstwo.twotil.math
Fields in de.arstwo.twotil.math declared as Matrix4fMethods in de.arstwo.twotil.math that return Matrix4fModifier and TypeMethodDescriptionPerforms a matrix addition of this and other.Matrix4f.clone()static Matrix4fMatrix4f.getIdentityMatrix()Returns a new identity matrix.Performs a matrix multiplication of this and other.Matrix4f.rotate(float radians, float axisX, float axisY, float axisZ) Rotates this matrix around a given axis.Rotates this matrix around a given axis.Copy constructor.Matrix4f.setColumnMajor(float[] data) Sets the data of this matrix to the given external data represented in that array.Matrix4f.setIdentity()Sets this matrix to identity values.Matrix4f.setLook(float positionX, float positionY, float positionZ, float rightX, float rightY, float rightZ, float upX, float upY, float upZ, float lookX, float lookY, float lookZ) Sets this matrix to a look matrix (an imaginary camera in 3D space looking into a specific direction) with the given float values.Sets this matrix to a look matrix (an imaginary camera in 3D space looking into a specific direction) with the given Vector4f values.Matrix4f.setOrthogonalProjection()Sets this matrix to be an orthogonal (2D) projection.Matrix4f.setProjection(float fovY, float aspectRatio, float zNear, float zFar) Sets this matrix to be a projection matrix with the given values.Matrix4f.setRotation(float radians, float axisX, float axisY, float axisZ) Sets this matrix to be a fixed rotation around a given axis.Matrix4f.setRotation(float radians, Vector4f axis) Sets this matrix to be a fixed rotation around a given axis.Matrix4f.setRowMajor(float[] data) Sets the data of this matrix to the given external data represented in that array, that is in a row-major format.Matrix4f.setTranslate(float x, float y, float z) Sets the translation components of this matrix with the given values.Matrix4f.setTranspose()Transposes this matrix (flips it diagonally).protected Matrix4fMatrix4f.setUnchecked(float[] data) Internal function to setColumnMajor the data of this matrix without checking it.Matrix4f.setZero()Sets the content of this matrix to all 0.Performs a matrix subtraction of this and other.Matrix4f.translate(float x, float y, float z) Translates this matrix by the given values.Translates this matrix by the given other matrix.Translates this matrix by the given Vector4f.Matrix4f.translateX(float x) Translates this matrix by the given x values.Matrix4f.translateY(float y) Translates this matrix by the given y values.Matrix4f.translateZ(float z) Translates this matrix by the given z values.Methods in de.arstwo.twotil.math with parameters of type Matrix4fModifier and TypeMethodDescriptionPerforms a matrix addition of this and other.booleanbooleanChecks if this is equal to other within the given delta for precisionPerforms a matrix multiplication of this and other.Copy constructor.Performs a matrix subtraction of this and other.Transforms this vector using the given matrix.Translates this matrix by the given other matrix.Translates this vector using the given matrix.