Cross-reference AABB and Rect2 in the class reference

This commit is contained in:
Hugo Locurcio
2020-09-21 14:27:50 +02:00
parent 8039978110
commit e9eddb4f1f
3 changed files with 6 additions and 3 deletions

View File

@@ -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>