|
| | base_vec3 (void) |
| |
| | base_vec3 (const base_t &_x, const base_t &_y, const base_t &_z) |
| |
| | base_vec3 (const base_t *_v) |
| |
| | base_vec3 (const vec2 &_v, base_t _z) |
| |
| | base_vec3 (const base_vec3 &_v) |
| |
| | base_vec3 (const base_vec3 *_v) |
| |
| | base_vec3 (const base_vec3 &_v, const base_vec3 &_w) |
| | ab vector coordinates More...
|
| |
| | base_vec3 (const vec4 &_v) |
| |
| base_t | get_x () |
| |
| base_t | get_y () |
| |
| base_t | get_z () |
| |
| bool | operator== (const base_vec3 &_v) |
| |
| bool | operator!= (const base_vec3 &_v) |
| |
| base_vec3 & | operator= (base_t _f) |
| |
| const base_vec3 | operator* (base_t _f) const |
| |
| const base_vec3 | operator/ (base_t _f) const |
| |
| base_vec3 | operator/ (const base_vec3 &_v) const |
| |
| const base_vec3 | operator+ (const base_vec3 &_v) const |
| |
| const base_vec3 | operator- () const |
| |
| const base_vec3 | operator- (const base_vec3 &_v) const |
| |
| base_vec3 & | operator*= (base_t _f) |
| |
| base_vec3 & | operator/= (base_t _f) |
| |
| base_vec3 & | operator+= (const base_vec3 &_v) |
| |
| base_vec3 & | operator-= (const base_vec3 &_v) |
| |
| base_t | operator* (const base_vec3 &_v) const |
| |
| base_vec3 | operator^ (const base_vec3 &_v) const |
| | cross product More...
|
| |
| base_t | operator* (const vec4 &_v) const |
| |
| | operator base_t * () |
| |
| | operator const base_t * () const |
| |
| base_t & | operator[] (int _i) |
| |
| const base_t & | operator[] (int _i) const |
| |
| bool | barelyEqual (const base_vec3 &_v) const |
| |
| void | set (base_t _x, base_t _y, base_t _z) |
| |
| void | reset (void) |
| |
| base_t | length (void) const |
| |
| base_t | normalize (void) |
| |
| void | cross (const base_vec3 &v1, const base_vec3 &v2) |
| |
| void | cross (const base_vec3 &v2) |
| |
| base_t | cosinus (const base_vec3 &ac) |
| |
| base_t | dot (const base_vec3 &v) const |
| | Scalar product. More...
|
| |
| bool | compare (const base_vec3 &_v, base_t epsi=EPSILON_6) |
| |
| base_t | angle (const base_vec3 &v) const |
| | Return the angle in radians between *this and v. More...
|
| |
| base_vec3 | closestPointOnLine (const base_vec3 &vA, const base_vec3 &vB) const |
| | Return the coordinates of the nearest point of *this on the line passing by vA and vB. More...
|
| |
| base_vec3 | closestPointOnSegment (const base_vec3 &vA, const base_vec3 &vB) const |
| | Return the coordinates of the nearest point of *this on the segment [vA,vB]. More...
|
| |
| base_t | projectionOnLine (const base_vec3 &vA, const base_vec3 &vB) const |
| | Return the projection factor of *this on the line passing by vA and vB. More...
|
| |
| base_vec3 | lerp (base_vec3 &u, base_vec3 &v, base_t factor) |
| | Linear interpolation function between 2 vectors. More...
|
| |
| decimal | distance (const base_vec3 &a_vector) const |
| | Compute the distance between two points pointed by *this and a_vector. More...
|
| |
| base_vec3 | Rotation (const base_vec3 &n, const base_t &angle) const |
| | Vector rotation. More...
|
| |
template<typename base_t>
class core_mathlib::base_vec3< base_t >
3D vector Vector defined with 3 float numbers
Definition at line 107 of file mathlib.h.