|
Namespaces |
namespace | apig |
Defines |
#define | EPS 1e-10 |
Functions |
Vec3 | apig::vec (const Vec3 &a, const Vec3 &b) |
float | apig::dot (const Vec3 &a, const Vec3 &b) |
float | apig::dist (Vec3 v1, Vec3 v2) |
Vec3 | apig::triangleNormal (const Vec3 &a, const Vec3 &b, const Vec3 &c) |
Vec3 | apig::operator- (const Vec3 &a) |
Vec3 | apig::operator+ (const Vec3 &a, const Vec3 &b) |
Vec3 | apig::operator- (const Vec3 &a, const Vec3 &b) |
Vec3 | apig::operator * (const Vec3 &a, const Vec3 &b) |
Vec3 | apig::operator/ (const Vec3 &a, const Vec3 &b) |
Vec3 | apig::operator * (float s, const Vec3 &a) |
Vec3 | apig::operator * (const Vec3 &a, float s) |
Vec3 | apig::operator/ (const Vec3 &a, float s) |
Vec3 | apig::operator/ (float s, const Vec3 &a) |
bool | apig::operator== (const Vec3 &a, const Vec3 &b) |
bool | apig::operator!= (const Vec3 &a, const Vec3 &b) |
bool | apig::operator>= (const Vec3 &a, const Vec3 &b) |
bool | apig::operator<= (const Vec3 &a, const Vec3 &b) |
bool | apig::operator> (const Vec3 &a, const Vec3 &b) |
bool | apig::operator< (const Vec3 &a, const Vec3 &b) |
bool | apig::operator>= (const Vec3 &a, float b) |
bool | apig::operator<= (const Vec3 &a, float b) |
bool | apig::operator> (const Vec3 &a, float b) |
bool | apig::operator< (const Vec3 &a, float b) |
float | apig::sign (float a) |
float | apig::fract (float a) |
float | apig::step (float e, float x) |
float | apig::mix (float x, float y, float a) |
float | apig::randUnif () |
Vec3 | apig::abs (const Vec3 &a) |
Vec3 | apig::sign (const Vec3 &a) |
Vec3 | apig::floor (const Vec3 &a) |
Vec3 | apig::ceil (const Vec3 &a) |
Vec3 | apig::fract (const Vec3 &a) |
Vec3 | apig::min (const Vec3 &a, const Vec3 &b) |
Vec3 | apig::min (const Vec3 &a, float b) |
Vec3 | apig::max (const Vec3 &a, const Vec3 &b) |
Vec3 | apig::max (const Vec3 &a, float b) |
Vec3 | apig::clamp (const Vec3 &a, const Vec3 &vMin, const Vec3 &vMax) |
Vec3 | apig::clamp (const Vec3 &a, float vMin, float vMax) |
Vec3 | apig::mix (const Vec3 &a, const Vec3 &b, const Vec3 &alpha) |
Vec3 | apig::mix (const Vec3 &a, const Vec3 &b, float alpha) |
Vec3 | apig::step (const Vec3 &e, const Vec3 &a) |
Vec3 | apig::step (float e, const Vec3 &a) |
float | apig::min (const Vec3 &a) |
float | apig::max (const Vec3 &a) |