// Wander in area private void WanderCamera(string dir) { if (isWander && null != m_Camera) { switch (dir) { case "i": m_Camera.Pitch(0.4f); break; case "k": m_Camera.Pitch(-0.4f); break; case "j": m_Camera.Yaw(0.4f); break; case "l": m_Camera.Yaw(-0.4f); break; default: break; } this.m_Renderer.ResetCameraClippingRange(); this.m_RenderWindow.Render(); } }