Beispiel #1
0
 // TODO: rotation stuff here
 public override void Render(double time)
 {
     GL.PushMatrix();
     {
         GL.Translate(_Position);
         GL.Translate(0.0, 0.0, 1.0);
         Draw();
         if (_NextLayer != null)
         {
             _NextLayer.Draw();
         }
     }
     GL.PopMatrix();
 }