public ModelCamera(Control focusControl, ControlRender dev) { mControl = focusControl; focusControl.MouseClick += (obj, e) => focusControl.Focus(); mDevice = dev.Device; mInput = dev.InputManager; mDevice.SetTransform(TransformState.View, Matrix.LookAtLH(mPosition, Vector3.Zero, Vector3.UnitZ)); }