10#if defined __cplusplus
14# if __STDC_VERSION__ >= 199901L
51#if defined __cplusplus
85#if defined __cplusplus
SR_vector2d operator+(const SR_vector2d &l, const SR_vector2d &r)
Definition: types.h:52
union SR_vector2i SR_point2i
SR_vector2d operator*(const SR_vector2d &l, const double &r)
Definition: types.h:61
SR_vector2d operator-(const SR_vector2d &l, const SR_vector2d &r)
Definition: types.h:55
SR_vector2d operator/(const SR_vector2d &l, const double &r)
Definition: types.h:58
union SR_vector2d SR_point2d
union SR_vector3d SR_point3d
C-compatible integer rectangle representation.
Definition: types.h:107
SR_point2i topLeft
Definition: types.h:110
int64_t top
Top-most border in the rectangle.
Definition: types.h:115
int64_t right
Right-most border in the rectangle.
Definition: types.h:116
SR_point2i bottomRight
Definition: types.h:111
int64_t bottom
Bottom-most border in the rectangle.
Definition: types.h:117
int64_t left
Left-most border in the rectangle.
Definition: types.h:114
C-compatible 2d double vector representation.
Definition: types.h:40
double y
Second value in the 2d vector.
Definition: types.h:44
double x
First value in the 2d vector.
Definition: types.h:43
C-compatible 2d integer vector representation.
Definition: types.h:28
int64_t y
Second value in the 2d vector.
Definition: types.h:32
int64_t x
First value in the 2d vector.
Definition: types.h:31
C-compatible 3d double vector representation.
Definition: types.h:73
double y
Second value in the 3d vector.
Definition: types.h:77
double z
Third value in the 3d vector.
Definition: types.h:78
double x
First value in the 3d vector.
Definition: types.h:76