initial mesh testing
[chaz/yoink] / src / GameLayer.cc
index 54e40687cfdae138a94814abae26251ac5785e7a..c0d35b95dadb692b085ee1d9d08bb76765800c25 100644 (file)
@@ -92,6 +92,8 @@ GameLayer::GameLayer()
        state_.heroine->animation.startSequence("FlyDiagonallyUp");
 
        state_.interp.init(0.0, 1.0, 4.0, moof::lerp_scalar::oscillate);
+
+       sceneMesh = moof::resource::load("classic.ac");
 }
 
 
@@ -192,7 +194,8 @@ void GameLayer::draw(moof::scalar alpha) const
        glEnableClientState(GL_VERTEX_ARRAY);
        glEnableClientState(GL_TEXTURE_COORD_ARRAY);
 
-       state_.scene->draw_if_visible(alpha, state_.camera.frustum());
+       //state_.scene->draw_if_visible(alpha, state_.camera.frustum());
+       sceneMesh->draw(alpha);
        state_.heroine->draw(alpha);
 
        mRay.draw();
This page took 0.021629 seconds and 4 git commands to generate.