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