Пример #1
0
 public void AddRenderable(IRenderable renderable, Matrix4 projectionmatrix, Matrix4 modelviewmatrix)
 {
     renderable.SetModelViewMatrix(modelviewmatrix);
     renderable.SetProjectionMatrix(projectionmatrix);
     Renderables.Add(renderable);
 }
Пример #2
0
 public Entity(IRenderable renderable, Fixture physicsbody)
 {
     this.Renderable = renderable;
       this.PhysicsBody = physicsbody;
 }