Package | Description |
---|---|
org.synthclipse.core.gl.camera.api | |
org.synthclipse.core.math | |
org.synthclipse.scripting.core | |
org.synthclipse.scripting.geom | |
org.synthclipse.scripting.gl |
Modifier and Type | Method and Description |
---|---|
Matrix4f |
ICamera3D.getProjectionMatrix()
Gets Projection matrix of the camera.
|
Matrix4f |
ICamera3D.getViewMatrix()
Gets View matrix of the camera.
|
Modifier and Type | Field and Description |
---|---|
static Matrix4f |
Matrix4f.IDENTITY |
static Matrix4f |
Matrix4f.ZERO |
Modifier and Type | Method and Description |
---|---|
Matrix4f |
Matrix4f.add(Matrix4f mat) |
Matrix4f |
Matrix4f.adjoint()
Returns a new matrix representing the adjoint of this matrix.
|
Matrix4f |
Matrix4f.adjoint(Matrix4f store)
Places the adjoint of this matrix in store (creates store if null.)
|
Matrix4f |
Matrix4f.clone() |
Matrix4f |
Matrix4f.copy() |
Matrix4f |
Matrix4f.identity()
Sets this matrix to the identity matrix, namely
all zeros with ones along the diagonal.
|
Matrix4f |
Matrix4f.invert()
Inverts this matrix as a new Matrix4f.
|
Matrix4f |
Matrix4f.invert(Matrix4f store)
Inverts this matrix and stores it in the given store.
|
Matrix4f |
Matrix4f.invertLocal()
Inverts this matrix locally.
|
Matrix4f |
Matrix4f.mult(float scalar) |
Matrix4f |
Matrix4f.mult(float scalar,
Matrix4f store) |
Matrix4f |
Matrix4f.mult(Matrix4f in2)
mult multiplies this matrix with another matrix. |
Matrix4f |
Matrix4f.mult(Matrix4f in2,
Matrix4f store)
mult multiplies this matrix with another matrix. |
Matrix4f |
Matrix4f.multLocal(Matrix4f in2)
mult multiplies this matrix with another matrix. |
Matrix4f |
Matrix4f.readFloatBuffer(FloatBuffer fb)
readFloatBuffer reads value for this matrix from a
FloatBuffer. |
Matrix4f |
Matrix4f.readFloatBuffer(FloatBuffer fb,
boolean columnMajor)
readFloatBuffer reads value for this matrix from a
FloatBuffer. |
Matrix4f |
Matrix4f.rotate(float pitch,
float yaw,
float roll)
This method effectively does:
Matrix4f rot = new Matrix4f();
but without any object creation. |
Matrix4f |
Matrix4f.rotate(Vector3f pitchYawRoll)
Same as
rotate(float, float, float) but the arguments are wrapped in a vector. |
Matrix4f |
Matrix4f.rotateAxis(float angle,
float axis_x,
float axis_y,
float axis_z)
This method effectively does:
Matrix4f rot = new Matrix4f();
but without any object creation. |
Matrix4f |
Matrix4f.rotateAxis(float angle,
Vector3f axis)
Same as
rotateAxis(float, float, float, float) but axis' components are wrapped in a vector. |
Matrix4f |
Matrix4f.rotateAxisDeg(float angle,
float axis_x,
float axis_y,
float axis_z)
Same as
rotateAxis(float, float, float, float) but using degrees instead of radians. |
Matrix4f |
Matrix4f.rotateAxisDeg(float angle,
Vector3f axis)
Same as
rotateAxisDeg(float, float, float, float) but axis' components are wrapped in a vector. |
Matrix4f |
Matrix4f.rotateDeg(float pitch,
float yaw,
float roll)
Same as
rotate(float, float, float) but using degrees instead of radians. |
Matrix4f |
Matrix4f.rotateDeg(Vector3f pitchYawRoll)
Same as
rotateDeg(float, float, float) but the arguments are wrapped in a vector. |
Matrix4f |
Matrix4f.scale(float s)
This method effectively does:
Matrix4f scale = new Matrix4f();
but without any object creation. |
Matrix4f |
Matrix4f.scale(float x,
float y,
float z)
This method effectively does:
Matrix4f scale = new Matrix4f();
but without any object creation. |
Matrix4f |
Matrix4f.scale(Vector3f scaleVec)
Same as
scale(float, float, float) but arguments are wrapped in a vector. |
Matrix4f |
Matrix4f.set(Matrix4f matrix)
set sets the values of this matrix from another matrix. |
Matrix4f |
Quaternion.toRotationMatrix(Matrix4f result)
toRotationMatrix converts this quaternion to a rotational
matrix. |
Matrix4f |
Matrix4f.translate(float x,
float y,
float z)
This method effectively does:
Matrix4f trans = new Matrix4f();
but without any object creation. |
Matrix4f |
Matrix4f.translate(Vector3f trans)
Same as
translate(float, float, float) but the arguments are wrapped in a vector. |
Matrix4f |
Matrix4f.transpose() |
Matrix4f |
Matrix4f.transposeLocal()
transpose locally transposes this Matrix. |
Matrix4f |
Matrix4f.zero()
Sets all of the values in this matrix to zero.
|
Modifier and Type | Method and Description |
---|---|
Matrix4f |
Matrix4f.add(Matrix4f mat) |
void |
Matrix4f.addLocal(Matrix4f mat)
add adds the values of a parameter matrix to this matrix. |
Matrix4f |
Matrix4f.adjoint(Matrix4f store)
Places the adjoint of this matrix in store (creates store if null.)
|
void |
Matrix4f.copy(Matrix4f matrix)
copy transfers the contents of a given matrix to this
matrix. |
Matrix4f |
Matrix4f.invert(Matrix4f store)
Inverts this matrix and stores it in the given store.
|
Matrix4f |
Matrix4f.mult(float scalar,
Matrix4f store) |
Matrix4f |
Matrix4f.mult(Matrix4f in2)
mult multiplies this matrix with another matrix. |
Matrix4f |
Matrix4f.mult(Matrix4f in2,
Matrix4f store)
mult multiplies this matrix with another matrix. |
Matrix4f |
Matrix4f.multLocal(Matrix4f in2)
mult multiplies this matrix with another matrix. |
Matrix4f |
Matrix4f.set(Matrix4f matrix)
set sets the values of this matrix from another matrix. |
Matrix4f |
Quaternion.toRotationMatrix(Matrix4f result)
toRotationMatrix converts this quaternion to a rotational
matrix. |
Vector3f |
Vector3f.transform(Matrix4f m,
Vector3f store) |
Vector3f |
Vector3f.transformDirection(Matrix4f m,
Vector3f store) |
void |
Vector3f.transformDirectionLocal(Matrix4f m) |
void |
Vector3f.transformLocal(Matrix4f m) |
Constructor and Description |
---|
Matrix4f(Matrix4f mat)
Constructor instantiates a new
Matrix that is set to the
provided matrix. |
Modifier and Type | Method and Description |
---|---|
Matrix4f |
JSNative.newMatrix4()
Creates a new 4x4 identity matrix.
|
Matrix4f |
JSNative.newMatrix4(float m00,
float m01,
float m02,
float m03,
float m10,
float m11,
float m12,
float m13,
float m20,
float m21,
float m22,
float m23,
float m30,
float m31,
float m32,
float m33)
Creates a new 4x4 matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
JSFragxRenderer.setPostprocessUniform(int location,
Matrix4f mat4)
Sets uniform variable of the postprocessing shader with GLSL's type
mat4 . |
void |
JSFragxRenderer.setPostprocessUniform(String name,
Matrix4f mat4)
Sets uniform variable of the postprocessing shader with GLSL's type
mat4 . |
void |
JSFragxRenderer.setPostprocessUniformMatrix3(int location,
Matrix4f mat4)
Sets uniform variable of the postprocessing shader with GLSL's type
mat3 . |
void |
JSFragxRenderer.setPostprocessUniformMatrix3(String name,
Matrix4f mat4)
Sets uniform variable of the postprocessing shader with GLSL's type
mat3 . |
void |
JSFragxRenderer.setUniform(int location,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat4 . |
void |
JSFragxRenderer.setUniform(String name,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat4 . |
void |
JSFragxRenderer.setUniformMatrix3(int location,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat3 . |
void |
JSFragxRenderer.setUniformMatrix3(String name,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat3 . |
Modifier and Type | Method and Description |
---|---|
Matrix4f |
IGeometry.getTransform() |
Matrix4f |
AbstractGeometry.getTransform()
Gets transformation matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
GLSLProgram.setUniform(int location,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat4 . |
void |
GLSLProgram.setUniform(String name,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat4 . |
void |
GLSLProgram.setUniformMatrix3(int location,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat3 . |
void |
GLSLProgram.setUniformMatrix3(String name,
Matrix4f mat4)
Sets uniform variable with GLSL's type
mat3 . |