Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Classes | Typedefs | Functions
types.h File Reference
#include <stdint.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  SR_vector2i
 C-compatible 2d integer vector representation. More...
 
union  SR_vector2d
 C-compatible 2d double vector representation. More...
 
union  SR_vector3d
 C-compatible 3d double vector representation. More...
 
union  SR_recti
 C-compatible integer rectangle representation. More...
 

Typedefs

typedef union SR_vector2i SR_point2i
 
typedef union SR_vector2d SR_point2d
 
typedef union SR_vector3d SR_point3d
 

Functions

SR_vector2d operator+ (const SR_vector2d &l, const SR_vector2d &r)
 
SR_vector2d operator- (const SR_vector2d &l, const SR_vector2d &r)
 
SR_vector2d operator/ (const SR_vector2d &l, const double &r)
 
SR_vector2d operator* (const SR_vector2d &l, const double &r)
 
SR_vector2d operator* (const SR_vector2d &l, const SR_vector2d &r)
 
SR_vector3d operator+ (const SR_vector3d &l, const SR_vector3d &r)
 
SR_vector3d operator- (const SR_vector3d &l, const SR_vector3d &r)
 
SR_vector3d operator/ (const SR_vector3d &l, const double &r)
 
SR_vector3d operator* (const SR_vector3d &l, const double &r)
 
SR_vector3d operator* (const SR_vector3d &l, const SR_vector3d &r)
 

Typedef Documentation

◆ SR_point2d

typedef union SR_vector2d SR_point2d

◆ SR_point2i

typedef union SR_vector2i SR_point2i

◆ SR_point3d

typedef union SR_vector3d SR_point3d

Function Documentation

◆ operator*() [1/4]

SR_vector2d operator* ( const SR_vector2d l,
const double &  r 
)
inline

◆ operator*() [2/4]

SR_vector2d operator* ( const SR_vector2d l,
const SR_vector2d r 
)
inline

◆ operator*() [3/4]

SR_vector3d operator* ( const SR_vector3d l,
const double &  r 
)
inline

◆ operator*() [4/4]

SR_vector3d operator* ( const SR_vector3d l,
const SR_vector3d r 
)
inline

◆ operator+() [1/2]

SR_vector2d operator+ ( const SR_vector2d l,
const SR_vector2d r 
)
inline

◆ operator+() [2/2]

SR_vector3d operator+ ( const SR_vector3d l,
const SR_vector3d r 
)
inline

◆ operator-() [1/2]

SR_vector2d operator- ( const SR_vector2d l,
const SR_vector2d r 
)
inline

◆ operator-() [2/2]

SR_vector3d operator- ( const SR_vector3d l,
const SR_vector3d r 
)
inline

◆ operator/() [1/2]

SR_vector2d operator/ ( const SR_vector2d l,
const double &  r 
)
inline

◆ operator/() [2/2]

SR_vector3d operator/ ( const SR_vector3d l,
const double &  r 
)
inline