gestalt.impl.jogl.render.plugin
Class JoglCamera

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.render.plugin.Camera
          extended by gestalt.impl.jogl.render.plugin.JoglCamera
All Implemented Interfaces:
Drawable, java.lang.Cloneable

public class JoglCamera
extends Camera


Field Summary
static boolean AUTO_UPDATE_MATRIX
           
static boolean STORE_MATRICES
           
 
Fields inherited from class gestalt.render.plugin.Camera
culling, farclipping, fovy, frustumoffset, nearclipping
 
Constructor Summary
JoglCamera()
           
 
Method Summary
 void draw(GLContext theRenderContext)
          this method is used to draw the drawable, when the context is ready.
 float[] modelviewmatrix()
           
 float[] projectionmatrix()
           
 
Methods inherited from class gestalt.render.plugin.Camera
add, clone, copy, forward, getDistanceToZeroPlane, getDistanceToZeroPlane, getForward, getInversRotationMatrix, getMode, getRotationMatrix, getSide, getUp, isActive, lookat, plugins, position, reset, reset, reset, rotation, set, setActive, setLookAtRef, setMode, setPositionRef, setRotationRef, setUpVectorRef, side, toString, toWorld, up, updateRotationMatrix, upvector, viewport
 
Methods inherited from class gestalt.shape.AbstractDrawable
getSortData, getSortValue, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTO_UPDATE_MATRIX

public static boolean AUTO_UPDATE_MATRIX

STORE_MATRICES

public static boolean STORE_MATRICES
Constructor Detail

JoglCamera

public JoglCamera()
Method Detail

draw

public void draw(GLContext theRenderContext)
Description copied from interface: Drawable
this method is used to draw the drawable, when the context is ready. although the behavior sometimes varies and doesn t always need to have a visual representation depending on the implementation.

Parameters:
theRenderContext - GLContext

projectionmatrix

public float[] projectionmatrix()
Overrides:
projectionmatrix in class Camera

modelviewmatrix

public float[] modelviewmatrix()
Overrides:
modelviewmatrix in class Camera


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