|
Ultralight C++ API 1.4.0
|
#include <Ultralight/Geometry.h>
4D Vector Helper
Public Member Functions | |
| vec4 () | |
| vec4 (float x, float y, float z, float w) | |
| vec4 (float x) | |
| vec4 (const float val[4]) | |
| vec4 & | operator+= (const vec4 &rhs) |
| vec4 & | operator-= (const vec4 &rhs) |
| vec4 & | operator*= (const vec4 &rhs) |
| vec4 & | operator/= (const vec4 &rhs) |
| vec4 & | operator+= (float rhs) |
| vec4 & | operator-= (float rhs) |
| vec4 & | operator*= (float rhs) |
| vec4 & | operator/= (float rhs) |
| void | load (const float *val) |
| void | store (float *val) const |
Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | w |
Friends | |
| bool | operator== (const vec4 &a, const vec4 &b) |
| bool | operator!= (const vec4 &a, const vec4 &b) |
| vec4 | operator+ (vec4 lhs, const vec4 &rhs) |
| vec4 | operator- (vec4 lhs, const vec4 &rhs) |
| vec4 | operator* (vec4 lhs, const vec4 &rhs) |
| vec4 | operator/ (vec4 lhs, const vec4 &rhs) |
| vec4 | operator+ (vec4 lhs, float rhs) |
| vec4 | operator- (vec4 lhs, float rhs) |
| vec4 | operator* (vec4 lhs, float rhs) |
| vec4 | operator/ (vec4 lhs, float rhs) |
| vec4 | min_ (const vec4 &a, const vec4 &b) |
| vec4 | max_ (const vec4 &a, const vec4 &b) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| float w |
| float x |
| float y |
| float z |