Header. More...
#include <osvr/Util/APIBaseC.h>
Go to the source code of this file.
Classes | |
struct | OSVR_Vec2 |
A structure defining a 2D vector, which represents position. More... | |
Typedefs | |
typedef struct OSVR_Vec2 | OSVR_Vec2 |
A structure defining a 2D vector, which represents position. | |
Functions | |
double | osvrVec2GetX (OSVR_Vec2 const *v) |
Accessor for Vec2 component X. | |
void | osvrVec2SetX (OSVR_Vec2 *v, double val) |
Setter for Vec2 component X. | |
double | osvrVec2GetY (OSVR_Vec2 const *v) |
Accessor for Vec2 component Y. | |
void | osvrVec2SetY (OSVR_Vec2 *v, double val) |
Setter for Vec2 component Y. | |
void | osvrVec2Zero (OSVR_Vec2 *v) |
Set a Vec2 to the zero vector. | |