Quellcode durchsuchen

Document inverse aspect ratio convention of `Projection::get_fovy()`

Florent Guiocheau vor 9 Monaten
Ursprung
Commit
3cc43abab0
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      doc/classes/Projection.xml

+ 1 - 0
doc/classes/Projection.xml

@@ -194,6 +194,7 @@
 			<param index="1" name="aspect" type="float" />
 			<param index="1" name="aspect" type="float" />
 			<description>
 			<description>
 				Returns the vertical field of view of the projection (in degrees) associated with the given horizontal field of view (in degrees) and aspect ratio.
 				Returns the vertical field of view of the projection (in degrees) associated with the given horizontal field of view (in degrees) and aspect ratio.
+				[b]Note:[/b] Unlike most methods of [Projection], [param aspect] is expected to be 1 divided by the X:Y aspect ratio.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_lod_multiplier" qualifiers="const">
 		<method name="get_lod_multiplier" qualifiers="const">