List of usage examples for com.badlogic.gdx.graphics.g3d ModelBatch begin
public void begin(final Camera cam)
From source file:com.mbrlabs.mundus.editor.tools.picker.ToolHandlePicker.java
License:Apache License
private void renderPickableScene(ToolHandle[] handles, ModelBatch batch, PerspectiveCamera cam) { batch.begin(cam); for (ToolHandle handle : handles) { handle.renderPick(batch);/*w w w.j a v a 2 s .c o m*/ } batch.end(); }
From source file:com.mbrlabs.mundus.utils.Compass.java
License:Apache License
public void render(ModelBatch batch) { update(); batch.begin(ownCam); batch.render(compassInstance); batch.end(); }