public void Update(GameTime gameTime) { if (!Terraria3D.Enabled) { return; } DollyController.Update((float)gameTime.ElapsedGameTime.TotalSeconds); if (InputTerraria3D.CameraControlsEnabled && !DollyController.DollyInProgress) { CameraDriver.Drive((float)gameTime.ElapsedGameTime.TotalSeconds); } }
public Scene3D() { CameraDriver = new CameraDriver(Camera); DollyController = new DollyController(Camera); }