Exemplo n.º 1
0
 public void AddRenderable(IRenderable renderable, Matrix4 projectionmatrix, Matrix4 modelviewmatrix)
 {
     renderable.SetModelViewMatrix(modelviewmatrix);
     renderable.SetProjectionMatrix(projectionmatrix);
     Renderables.Add(renderable);
 }
Exemplo n.º 2
0
 public Entity(IRenderable renderable, Fixture physicsbody)
 {
     this.Renderable = renderable;
       this.PhysicsBody = physicsbody;
 }