#include <ovalgebra.h>
Public Member Functions | |
OVvX () | |
Empty constructor. | |
OVvX (float *a) | |
Constructor from array of 2 floats. | |
~OVvX () | |
Destructor. | |
operator float * () | |
Automatic typecast operator. Enables use of OV2f in glFunc[v]() functions. | |
float & | operator[] (int index) |
Access operator. | |
const float & | operator[] (int index) const |
Constant access operator. | |
void | operator= (const float *a) |
= operator. | |
Data Fields | |
float | e [X] |
OV::OVvX< X >::operator float * | ( | ) | [inline] |
Automatic typecast operator. Enables use of OV2f in glFunc[v]() functions.
float& OV::OVvX< X >::operator[] | ( | int | index | ) | [inline] |
Access operator.
index | Index of element. |
const float& OV::OVvX< X >::operator[] | ( | int | index | ) | const [inline] |
Constant access operator.
index | Index of element. |
void OV::OVvX< X >::operator= | ( | const float * | a | ) | [inline] |
= operator.
a | Reference to other object. |