Ejemplo n.º 1
0
 public void useObject(RenderObject o) {
   if (unWorld != GL.BadUniformLocation) {
     GLUniform.setST(unWorld, o.mWorldTransform, false);
   }
   if (unWorldIT != GL.BadUniformLocation) {
     GLUniform.setST(unWorldIT, o.mWorldTransformIT, false);
   }
 }
Ejemplo n.º 2
0
 public void useCamera(RenderCamera c) {
   if (unVP != GL.BadUniformLocation) {
     GLUniform.setST(unVP, c.mViewProjection, false);
   }
 }