iliak's picture

Matrix4.CreatePerspectiveFieldOfView() fovy limit

Hi

why is there a maximum (>Math.Pi) limit with the fovy ?

		/// <exception cref="System.ArgumentOutOfRangeException">
		/// Thrown under the following conditions:
		/// <list type="bullet">
		/// <item>fovy is zero, less than zero or larger than Math.PI</item>

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Because there used to be continuous posts about CreatePerspective* not working correctly from people passing degrees instead of radians.

This has been bothering me for weeks, don't know if it's best to remove the limitation or not.

iliak's picture

Ok.

c2woody's picture

Maybe an exception for debug mode, yet the limitation removed from the description/release mode?