List of usage examples for com.badlogic.gdx.graphics.g3d StillModelInstance getSortCenter
public Vector3 getSortCenter();
From source file:com.badlogic.gdx.graphics.g3d.test.PrototypeRendererGL20.java
License:Apache License
@Override public void draw(StillModel model, StillModelInstance instance) { if (cam != null) if (!cam.frustum.sphereInFrustum(instance.getSortCenter(), instance.getBoundingSphereRadius())) return; drawableManager.add(model, instance); }