mathematik
Class Matrix4f

java.lang.Object
  extended by mathematik.Matrix4f
All Implemented Interfaces:
java.io.Serializable

public class Matrix4f
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 float ww
           
 float wx
           
 float wy
           
 float wz
           
 float xw
           
 float xx
           
 float xy
           
 float xz
           
 float yw
           
 float yx
           
 float yy
           
 float yz
           
 float zw
           
 float zx
           
 float zy
           
 float zz
           
 
Constructor Summary
Matrix4f()
           
Matrix4f(double[] theMatrix)
           
Matrix4f(float[] theMatrix)
           
Matrix4f(float xx, float yx, float zx, float wx, float xy, float yy, float zy, float wy, float xz, float yz, float zz, float wz, float xw, float yw, float zw, float ww)
           
Matrix4f(Matrix4f theTransformMatrix)
           
Matrix4f(TransformMatrix4f theTransformMatrix)
           
 
Method Summary
 float determinant()
           
 void invert()
           
static void main(java.lang.String[] args)
           
 void multiply(float scalar)
           
 void multiply(Matrix4f theMatrix)
           
 void multiply(Matrix4f theA, Matrix4f theB)
           
 void set(double[] theMatrix)
           
 void set(float[] theMatrix)
           
 void set(float xx, float yx, float zx, float wx, float xy, float yy, float zy, float wy, float xz, float yz, float zz, float wz, float xw, float yw, float zw, float ww)
           
 float[] toArray()
           
 java.lang.String toString()
           
 void transform(Vector3f theResult)
           
 void transform(Vector4f theVector)
           
 void transpose()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

xx

public float xx

xy

public float xy

xz

public float xz

xw

public float xw

yx

public float yx

yy

public float yy

yz

public float yz

yw

public float yw

zx

public float zx

zy

public float zy

zz

public float zz

zw

public float zw

wx

public float wx

wy

public float wy

wz

public float wz

ww

public float ww
Constructor Detail

Matrix4f

public Matrix4f()

Matrix4f

public Matrix4f(TransformMatrix4f theTransformMatrix)

Matrix4f

public Matrix4f(Matrix4f theTransformMatrix)

Matrix4f

public Matrix4f(float[] theMatrix)

Matrix4f

public Matrix4f(double[] theMatrix)

Matrix4f

public Matrix4f(float xx,
                float yx,
                float zx,
                float wx,
                float xy,
                float yy,
                float zy,
                float wy,
                float xz,
                float yz,
                float zz,
                float wz,
                float xw,
                float yw,
                float zw,
                float ww)
Method Detail

set

public void set(float[] theMatrix)

set

public void set(double[] theMatrix)

set

public void set(float xx,
                float yx,
                float zx,
                float wx,
                float xy,
                float yy,
                float zy,
                float wy,
                float xz,
                float yz,
                float zz,
                float wz,
                float xw,
                float yw,
                float zw,
                float ww)

invert

public void invert()

multiply

public void multiply(float scalar)

multiply

public final void multiply(Matrix4f theMatrix)

multiply

public final void multiply(Matrix4f theA,
                           Matrix4f theB)

determinant

public float determinant()

transform

public final void transform(Vector3f theResult)

transform

public final void transform(Vector4f theVector)

toArray

public float[] toArray()

transpose

public final void transpose()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009