com.neovisionaries.android.opengl
Class Transform

java.lang.Object
  extended by com.neovisionaries.android.opengl.Transform

public class Transform
extends Object

Transform.

Author:
Takahiko Kawasaki

Constructor Summary
Transform()
           
 
Method Summary
 Transform frustum(float left, float right, float bottom, float top, float near, float far)
           
 Transform lookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
           
 Transform multiply(Transform rhs)
           
 Transform perspective(float fovy, float aspect, float near, float far)
           
 Transform rotate(float angle, float x, float y, float z)
           
 Transform scale(float x, float y, float z)
           
 Transform setFrustum(float left, float right, float bottom, float top, float near, float far)
           
 Transform setIdentity()
           
 Transform setLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
           
 Transform setPerspective(float fovy, float aspect, float near, float far)
           
 Transform setTo(Uniform uniform)
           
 Transform translate(float x, float y, float z)
           
 Transform transpose()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transform

public Transform()
Method Detail

setIdentity

public Transform setIdentity()

rotate

public Transform rotate(float angle,
                        float x,
                        float y,
                        float z)

scale

public Transform scale(float x,
                       float y,
                       float z)

translate

public Transform translate(float x,
                           float y,
                           float z)

transpose

public Transform transpose()

multiply

public Transform multiply(Transform rhs)

frustum

public Transform frustum(float left,
                         float right,
                         float bottom,
                         float top,
                         float near,
                         float far)

setFrustum

public Transform setFrustum(float left,
                            float right,
                            float bottom,
                            float top,
                            float near,
                            float far)

perspective

public Transform perspective(float fovy,
                             float aspect,
                             float near,
                             float far)

setPerspective

public Transform setPerspective(float fovy,
                                float aspect,
                                float near,
                                float far)

lookAt

public Transform lookAt(float eyeX,
                        float eyeY,
                        float eyeZ,
                        float centerX,
                        float centerY,
                        float centerZ,
                        float upX,
                        float upY,
                        float upZ)

setLookAt

public Transform setLookAt(float eyeX,
                           float eyeY,
                           float eyeZ,
                           float centerX,
                           float centerY,
                           float centerZ,
                           float upX,
                           float upY,
                           float upZ)

setTo

public Transform setTo(Uniform uniform)