소스 검색

Merge pull request #99921 from Flarkk/aspect_ratio_convention

Document inverse aspect ratio convention of `Projection::get_fovy()`
Rémi Verschelde 8 달 전
부모
커밋
282c2c8490
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/Projection.xml

+ 1 - 0
doc/classes/Projection.xml

@@ -194,6 +194,7 @@
 			<param index="1" name="aspect" type="float" />
 			<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.
+				[b]Note:[/b] Unlike most methods of [Projection], [param aspect] is expected to be 1 divided by the X:Y aspect ratio.
 			</description>
 		</method>
 		<method name="get_lod_multiplier" qualifiers="const">