mathematik
Class Rotation

java.lang.Object
  extended by mathematik.Rotation

public class Rotation
extends java.lang.Object


Constructor Summary
Rotation()
           
Rotation(int theVelocitySamplerSize)
           
 
Method Summary
 void add(Vector3f theVelocity)
           
 void flattenVelocitySampler(Vector3f theVelocity)
           
 Vector3f getAverageVelocity()
           
 void set(Matrix3f theResult)
           
 void set(TransformMatrix4f theResult)
           
 void set(Vector3f theVelocity, TransformMatrix4f theResult)
           
 void setRotationMatrix(Vector3f theVelocity, TransformMatrix4f theResult)
          Deprecated. use 'set' instead.
 void setUpVector(Vector3f theUpVector)
           
 void setUpVectorByAngle(float roll)
           
 void setVelocitySamplerSize(int theVelocitySamplerSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rotation

public Rotation()

Rotation

public Rotation(int theVelocitySamplerSize)
Method Detail

setVelocitySamplerSize

public void setVelocitySamplerSize(int theVelocitySamplerSize)

flattenVelocitySampler

public void flattenVelocitySampler(Vector3f theVelocity)

add

public void add(Vector3f theVelocity)

set

public void set(Vector3f theVelocity,
                TransformMatrix4f theResult)

set

public void set(TransformMatrix4f theResult)

set

public void set(Matrix3f theResult)

setRotationMatrix

public void setRotationMatrix(Vector3f theVelocity,
                              TransformMatrix4f theResult)
Deprecated. use 'set' instead.

Parameters:
theVelocity - Vector3f
theResult - TransformMatrix4f

getAverageVelocity

public Vector3f getAverageVelocity()

setUpVector

public void setUpVector(Vector3f theUpVector)

setUpVectorByAngle

public void setUpVectorByAngle(float roll)


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