#include <Matrix.h>
Public Member Functions | |
| Vec4 (float xyzw=0.0f) | |
| Vec4 (float x, float y, float z, float w=1.0f) | |
| --------------------------------Vec4------------------------------- | |
| Vec4 (const Vec2 &xy, float z, float w=1.0f) | |
| Vec4 (const Vec3 &xyz, float w=1.0f) | |
| Vec4 (const Vec2 &xy, const Vec2 &zw) | |
| Vec4 (float x, const Vec3 &yzw) | |
| Vec4 (float x, float y, const Vec2 &zw) | |
| Vec4 (const float *v) | |
| bool | operator< (const float) const |
| bool | operator< (const Vec2 &) const |
| bool | operator< (const Vec3 &) const |
| bool | operator< (const Vec4 &) const |
| Vec4 | operator- () const |
| Vec4 | operator+ (const Vec4 &b) const |
| Vec4 | operator- (const Vec4 &b) const |
| Vec4 | operator* (const Vec4 &b) const |
| Vec4 | operator* (float b) const |
| Vec4 | operator/ (float b) const |
| Vec4 | operator/ (const Vec4 &b) const |
| const float & | operator[] (const int index) const |
| bool | operator== (const Vec4 &b) const |
| const float * | operator* (void) const |
| float & | operator[] (int index) |
| Vec4 & | operator+= (const Vec4 &b) |
| Vec4 & | operator-= (const Vec4 &b) |
| Vec4 & | operator*= (float b) |
| Vec4 & | operator*= (const Vec4 &b) |
| Vec4 & | operator/= (float b) |
| Vec4 & | operator/= (const Vec4 &b) |
| Vec2 | xy () const |
| Vec2 | zw () const |
| Vec3 | xyz () const |
| float | hyp (void) const |
| float | len (void) const |
| void | normalize (void) |
| Vec4 | normalized (void) const |
| Vec4 | abs (void) const |
| Vec4 | sgn (void) const |
| Vec4 | clamp (float min=0.0f, float max=1.0f) const |
| float | dot (const Vec4 &b) const |
| bool | equals (const Vec4 &compare, float epsilon=0.0f) const |
| bool | equals (const float *compare, float epsilon=0.0f) const |
| float & | getElement (int index) |
Definition at line 306 of file Matrix.h.
| RenderTools::Vec4::Vec4 | ( | float | xyzw = 0.0f |
) |
Definition at line 1160 of file Matrix.cpp.
| RenderTools::Vec4::Vec4 | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| float | w = 1.0f | |||
| ) |
--------------------------------Vec4-------------------------------
Definition at line 1153 of file Matrix.cpp.
| RenderTools::Vec4::Vec4 | ( | const Vec2 & | xy, | |
| float | z, | |||
| float | w = 1.0f | |||
| ) |
Definition at line 1171 of file Matrix.cpp.
| RenderTools::Vec4::Vec4 | ( | const Vec3 & | xyz, | |
| float | w = 1.0f | |||
| ) |
Definition at line 1178 of file Matrix.cpp.
Definition at line 1185 of file Matrix.cpp.
| RenderTools::Vec4::Vec4 | ( | float | x, | |
| const Vec3 & | yzw | |||
| ) |
Definition at line 1192 of file Matrix.cpp.
| RenderTools::Vec4::Vec4 | ( | float | x, | |
| float | y, | |||
| const Vec2 & | zw | |||
| ) |
Definition at line 1199 of file Matrix.cpp.
| RenderTools::Vec4::Vec4 | ( | const float * | v | ) |
Definition at line 1167 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::abs | ( | void | ) | const |
Definition at line 1359 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::clamp | ( | float | min = 0.0f, |
|
| float | max = 1.0f | |||
| ) | const |
Definition at line 1367 of file Matrix.cpp.
| float RenderTools::Vec4::dot | ( | const Vec4 & | b | ) | const |
Definition at line 1355 of file Matrix.cpp.
| bool RenderTools::Vec4::equals | ( | const float * | compare, | |
| float | epsilon = 0.0f | |||
| ) | const |
Definition at line 1384 of file Matrix.cpp.
| bool RenderTools::Vec4::equals | ( | const Vec4 & | compare, | |
| float | epsilon = 0.0f | |||
| ) | const |
Definition at line 1380 of file Matrix.cpp.
| float& RenderTools::Vec4::getElement | ( | int | index | ) |
| float RenderTools::Vec4::hyp | ( | void | ) | const |
Definition at line 1329 of file Matrix.cpp.
| float RenderTools::Vec4::len | ( | void | ) | const |
Definition at line 1333 of file Matrix.cpp.
| void RenderTools::Vec4::normalize | ( | void | ) |
Definition at line 1338 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::normalized | ( | void | ) | const |
Definition at line 1350 of file Matrix.cpp.
| const float * RenderTools::Vec4::operator* | ( | void | ) | const |
Definition at line 1309 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::operator* | ( | float | b | ) | const |
Definition at line 1245 of file Matrix.cpp.
Definition at line 1254 of file Matrix.cpp.
| Vec4 & RenderTools::Vec4::operator*= | ( | float | b | ) |
Definition at line 1289 of file Matrix.cpp.
Definition at line 1227 of file Matrix.cpp.
Definition at line 1281 of file Matrix.cpp.
Definition at line 1236 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::operator- | ( | void | ) | const |
Definition at line 1223 of file Matrix.cpp.
Definition at line 1285 of file Matrix.cpp.
Definition at line 1263 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::operator/ | ( | float | b | ) | const |
Definition at line 1272 of file Matrix.cpp.
Definition at line 1297 of file Matrix.cpp.
| Vec4 & RenderTools::Vec4::operator/= | ( | float | b | ) |
Definition at line 1293 of file Matrix.cpp.
| bool RenderTools::Vec4::operator< | ( | const Vec4 & | v | ) | const |
Definition at line 1219 of file Matrix.cpp.
| bool RenderTools::Vec4::operator< | ( | const Vec3 & | v | ) | const |
Definition at line 1215 of file Matrix.cpp.
| bool RenderTools::Vec4::operator< | ( | const Vec2 & | v | ) | const |
Definition at line 1211 of file Matrix.cpp.
| bool RenderTools::Vec4::operator< | ( | const float | v | ) | const |
Definition at line 1207 of file Matrix.cpp.
| bool RenderTools::Vec4::operator== | ( | const Vec4 & | b | ) | const |
Definition at line 1313 of file Matrix.cpp.
| float & RenderTools::Vec4::operator[] | ( | int | index | ) |
Definition at line 1301 of file Matrix.cpp.
| const float & RenderTools::Vec4::operator[] | ( | const int | index | ) | const |
Definition at line 1305 of file Matrix.cpp.
| Vec4 RenderTools::Vec4::sgn | ( | void | ) | const |
Definition at line 1363 of file Matrix.cpp.
| Vec2 RenderTools::Vec4::xy | ( | void | ) | const |
Definition at line 1317 of file Matrix.cpp.
| Vec3 RenderTools::Vec4::xyz | ( | ) | const |
Definition at line 1325 of file Matrix.cpp.
| Vec2 RenderTools::Vec4::zw | ( | ) | const |
Definition at line 1321 of file Matrix.cpp.
1.5.8