Explorar el Código

Restored text missing during wiki sync (thanks @sezero!)

Sam Lantinga hace 1 mes
padre
commit
40ec9592f1
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      include/SDL3/SDL_rect.h

+ 3 - 0
include/SDL3/SDL_rect.h

@@ -90,6 +90,9 @@ typedef struct SDL_Rect
 /**
  * A rectangle stored using floating point values.
  *
+ * The origin of the coordinate space is in the top-left, with increasing values moving down and right.
+ * The properties `x` and `y` represent the coordinates of the top-left corner of the rectangle.
+ *
  * \since This struct is available since SDL 3.2.0.
  *
  * \sa SDL_RectEmptyFloat