@@ -11,7 +11,8 @@ struct PTSDPosition;
1111 * @struct SDLPosition
1212 * @brief A class representing a position in screen coordinates.
1313 *
14- * This class is used to store the X and Y coordinates of a point in a screen coordinate system where:
14+ * This class is used to store the X and Y coordinates of a point in a screen
15+ * coordinate system where:
1516 * - The origin (0, 0) is at the upper-left corner of the window.
1617 * - X increases to the right.
1718 * - Y increases downwards.
@@ -33,7 +34,8 @@ struct SDLPosition {
3334 * @struct PTSDPosition
3435 * @brief A class representing a position in a Cartesian coordinates.
3536 *
36- * This class is used to store the X and Y coordinates of a point in a Cartesian coordinate system where:
37+ * This class is used to store the X and Y coordinates of a point in a Cartesian
38+ * coordinate system where:
3739 * - The origin (0, 0) is at the center of the window.
3840 * - X increases to the right.
3941 * - Y increases upwards.
@@ -47,7 +49,8 @@ struct PTSDPosition {
4749 : x{x},
4850 y{y} {};
4951 [[deprecated(" Implicit conversion will be removed. Use explicit conversion "
50- " instead" )]] // `\_(:/)_/`
52+ " instead" )]]
53+ // `\_(:/)_/`
5154 PTSDPosition (glm::vec2 v)
5255 : x{v.x },
5356 y{v.y } {};
@@ -58,8 +61,7 @@ struct PTSDPosition {
5861 }
5962
6063 [[deprecated(" Implicit conversion will be removed. Use explicit conversion "
61- " instead" )]]
62- operator glm::vec2 () const {
64+ " instead" )]] operator glm::vec2 () const {
6365 return {x, y};
6466 }
6567
0 commit comments