Merge pull request #42226 from Calinou/doc-rect2-aabb
Cross-reference AABB and Rect2 in the class reference
This commit is contained in:
commit
ebf3bad571
3 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,9 @@
|
|||
Axis-Aligned Bounding Box.
|
||||
</brief_description>
|
||||
<description>
|
||||
AABB consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
|
||||
[AABB] consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
|
||||
It uses floating-point coordinates. The 2D counterpart to [AABB] is [Rect2].
|
||||
[b]Note:[/b] Unlike [Rect2], [AABB] does not have a variant that uses integer coordinates.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="Math tutorial index">https://docs.godotengine.org/en/latest/tutorials/math/index.html</link>
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
</brief_description>
|
||||
<description>
|
||||
[Rect2] consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
|
||||
It uses floating point coordinates.
|
||||
It uses floating-point coordinates. If you need integer coordinates, use [Rect2i] instead.
|
||||
The 3D counterpart to [Rect2] is [AABB].
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="Math tutorial index">https://docs.godotengine.org/en/latest/tutorials/math/index.html</link>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</brief_description>
|
||||
<description>
|
||||
[Rect2i] consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
|
||||
It uses integer coordinates.
|
||||
It uses integer coordinates. If you need floating-point coordinates, use [Rect2] instead.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="Math tutorial index">https://docs.godotengine.org/en/latest/tutorials/math/index.html</link>
|
||||
|
|
Loading…
Reference in a new issue