|
glVertex
5.5.2
|
3D float vector More...
#include <glslmath.h>
Public Member Functions | |
| vec3f () | |
| default constructor | |
| vec3f (const vec3f &v) | |
| copy constructor | |
| vec3f (const vec3 &v) | |
| copy constructor | |
| vec3f (const vec2f &v, const float vz=0.0f) | |
| copy constructor | |
| vec3f (const vec2 &v, const float vz=0.0f) | |
| copy constructor | |
| vec3f (const float vx, const float vy, const float vz) | |
| component-wise constructor | |
| vec3f (const float v) | |
| single-component constructor | |
| operator vec3 () const | |
| cast operator | |
| const float * | c_ptr () const |
| const pointer to linear array | |
| operator const float * () const | |
| cast operator to linear array | |
| vec3f & | operator+= (const vec3f &v) |
| inplace addition | |
| vec3f & | operator-= (const vec3f &v) |
| inplace subtraction | |
| vec3f & | operator*= (float v) |
| inplace multiplication | |
| vec3f & | operator*= (const vec3f &v) |
| inplace multiplication | |
| vec2f | xy () const |
| swizzeling operator | |
| vec3f | zyx () const |
| swizzeling operator | |
| vec3f | bgr () const |
| swizzeling operator | |
| operator std::string () | |
| string cast operator | |
| std::string | to_string (std::string delimiter=", ", int space=0) |
| conversion to string | |
Public Attributes | |
| union { | |
| }; | |
| vector components | |
3D float vector
1.8.17