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