*
* @author integeruser
*/
abstract class Scene {
Scene() {
terrainMesh = new Mesh( "Ground.xml" );
cubeMesh = new Mesh( "UnitCube.xml" );
tetraMesh = new Mesh( "UnitTetrahedron.xml" );
cylMesh = new Mesh( "UnitCylinder.xml" );
sphereMesh = new Mesh( "UnitSphere.xml" );
// Align the size of each MaterialBlock to the uniform buffer alignment.
int uniformBufferAlignSize = glGetInteger( GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT );
sizeMaterialBlock = MaterialBlock.SIZE;