18#if defined __cplusplus
22# if __STDC_VERSION__ >= 199901L
59#if defined __cplusplus
93#if defined __cplusplus
SR_vector2d operator+(const SR_vector2d &l, const SR_vector2d &r)
Definition: types.h:60
union SR_vector2i SR_point2i
SR_vector2d operator*(const SR_vector2d &l, const double &r)
Definition: types.h:69
SR_vector2d operator-(const SR_vector2d &l, const SR_vector2d &r)
Definition: types.h:63
SR_vector2d operator/(const SR_vector2d &l, const double &r)
Definition: types.h:66
union SR_vector2d SR_point2d
union SR_vector3d SR_point3d
C-compatible integer rectangle representation.
Definition: types.h:115
SR_point2i topLeft
Definition: types.h:118
int64_t top
Top-most border in the rectangle.
Definition: types.h:123
int64_t right
Right-most border in the rectangle.
Definition: types.h:124
SR_point2i bottomRight
Definition: types.h:119
int64_t bottom
Bottom-most border in the rectangle.
Definition: types.h:125
int64_t left
Left-most border in the rectangle.
Definition: types.h:122
C-compatible 2d double vector representation.
Definition: types.h:48
double y
Second value in the 2d vector.
Definition: types.h:52
double x
First value in the 2d vector.
Definition: types.h:51
C-compatible 2d integer vector representation.
Definition: types.h:36
int64_t y
Second value in the 2d vector.
Definition: types.h:40
int64_t x
First value in the 2d vector.
Definition: types.h:39
C-compatible 3d double vector representation.
Definition: types.h:81
double y
Second value in the 3d vector.
Definition: types.h:85
double z
Third value in the 3d vector.
Definition: types.h:86
double x
First value in the 3d vector.
Definition: types.h:84