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); } }
public void useCamera(RenderCamera c) { if (unVP != GL.BadUniformLocation) { GLUniform.setST(unVP, c.mViewProjection, false); } }