Exemplo n.º 1
0
 private void OnUpdateScreenSize(Vector2Args args)
 {
     Projection = Matrix.CreatePerspectiveFieldOfView(ViewAngle, args.Vector.X / args.Vector.Y, NearPlaneDistance, FarPlaneDistance);
 }
Exemplo n.º 2
0
 private void OnMouseUpdated(Vector2Args obj)
 {
     m_currentMousePosition = obj.Vector;
 }