public PlayerRenderer(GraphicsDevice graphicsDevice, Player player) { this.GraphicsDevice = graphicsDevice; this.player = player; this.viewport = graphicsDevice.Viewport; this.camera = new FirstPersonCamera(viewport); this.cameraController = new FirstPersonCameraController(camera); physics = new PlayerPhysics(this); }
public HudRenderer(GraphicsDevice device, World world, FirstPersonCamera camera) { this.GraphicsDevice = device; this._camera = camera; this.world = world; }
public SingleThreadLightingWorldRenderer(GraphicsDevice graphicsDevice, FirstPersonCamera camera, World world) : base(graphicsDevice, camera, world) { }
public WorldRenderer(GraphicsDevice graphicsDevice, FirstPersonCamera camera, World world) { this.world = world; this.GraphicsDevice = graphicsDevice; this.camera = camera; }