// double height = tanAngle * dist;
// renderOptions.projection = renderOptions.projection.withVolumeHeight(height);
/* draw debug views */
DebugView activeWorldObjectView = null;
for (DebugView debugView : renderOptions.activeDebugViews) {
if (debugView instanceof WorldObjectView) {
// needs to be rendered last because of transparency
activeWorldObjectView = debugView;
continue;
}
debugView.renderTo(gl, renderOptions.camera, renderOptions.projection);
}
if (activeWorldObjectView != null) {
activeWorldObjectView.renderTo(gl, renderOptions.camera, renderOptions.projection);
}
/* write messages */
int messageCount = 0;