Java android.opengl Matrix fields, constructors, methods, implement or subclass

Example usage for Java android.opengl Matrix fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.opengl Matrix.

The text is from its open source code.

Method

voidfrustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far)
Defines a projection matrix in terms of six clip planes.
booleaninvertM(float[] mInv, int mInvOffset, float[] m, int mOffset)
Inverts a 4 x 4 matrix.
voidmultiplyMM(float[] result, int resultOffset, float[] lhs, int lhsOffset, float[] rhs, int rhsOffset)
Multiplies two 4x4 matrices together and stores the result in a third 4x4 matrix.
voidmultiplyMV(float[] resultVec, int resultVecOffset, float[] lhsMat, int lhsMatOffset, float[] rhsVec, int rhsVecOffset)
Multiplies a 4 element vector by a 4x4 matrix and stores the result in a 4-element column vector.
voidorthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far)
Computes an orthographic projection matrix.
voidrotateM(float[] m, int mOffset, float a, float x, float y, float z)
Rotates matrix m in place by angle a (in degrees) around the axis (x, y, z).
voidscaleM(float[] m, int mOffset, float x, float y, float z)
Scales matrix m in place by sx, sy, and sz.
voidscaleM(float[] sm, int smOffset, float[] m, int mOffset, float x, float y, float z)
Scales matrix m by x, y, and z, putting the result in sm.
voidsetIdentityM(float[] sm, int smOffset)
Sets matrix m to the identity matrix.
voidsetLookAtM(float[] rm, int rmOffset, float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
Defines a viewing transformation in terms of an eye point, a center of view, and an up vector.
voidsetRotateM(float[] rm, int rmOffset, float a, float x, float y, float z)
Creates a matrix for rotation by angle a (in degrees) around the axis (x, y, z).
voidtranslateM(float[] m, int mOffset, float x, float y, float z)
Translates matrix m by x, y, and z in place.
voidtransposeM(float[] mTrans, int mTransOffset, float[] m, int mOffset)
Transposes a 4 x 4 matrix.