/** * <code>draw</code> updates the billboards orientation then renders the billboard's children. * * @param r * the renderer used to draw. * @see com.ardor3d.scenegraph.Spatial#draw(com.ardor3d.renderer.Renderer) */ @Override public void draw(final Renderer r) { rotateBillboard(); super.draw(r); }
/** * <code>draw</code> updates the billboards orientation then renders the billboard's children. * * @param r * the renderer used to draw. * @see com.ardor3d.scenegraph.Spatial#draw(com.ardor3d.renderer.Renderer) */ @Override public void draw(final Renderer r) { rotateBillboard(); super.draw(r); }
@Override public boolean render(final Renderer renderer) { if (Constants.stats && labGraph == null) { setupStatGraphs(renderer); setupStats(); } // Execute renderQueue items GameTaskQueueManager.getManager(ParticleEditorFrame.GLOBAL_CONTEXT).getQueue(GameTaskQueue.RENDER) .execute(renderer); // Clean up card garbage such as textures, vbos, etc. ContextGarbageCollector.doRuntimeCleanup(renderer); rootNode.draw(renderer); if (Constants.stats) { StatCollector.update(); statNode.draw(renderer); } return true; }
super.draw(r);
super.draw(r);