library / com.otaliastudios.opengl.scene / GlScene / <init>

<init>

GlScene()

Scenes can be to draw GlDrawables through GlPrograms.

The advantage is that they contain information about the projectionMatrix and the viewMatrix, both of which can be accessed and modified and held by this single object.

The GlScene object will combine these two with the drawables GlDrawable.modelMatrix and pass the resulting model-view-projection matrix to the program.