|
Eigen::Vector3f | vec3f_to_eigen (const vec3f &v) |
|
vec3f | vec3f_from_eigen (const Eigen::Vector3f &v) |
|
net_quat | net_encode_quaternion (const Eigen::Quaternionf &q) |
|
Eigen::Quaternionf | net_decode_quaternion (const net_quat &q) |
|
std::vector< hex_coord > | hex_spiral (size_t radius) |
|
Eigen::Vector2f | hex_to_square (const hex_coord &h) |
|
hex_coord | square_to_hex (const Eigen::Vector2f &p) |
|
vec2f | vec2f_new (float x, float y) |
|
std::ostream & | operator<< (std::ostream &os, const vec3f &v) |
|
vec3f | vec3f_new (float x, float y, float z) |
|
void | vec2f_add_scaled (vec2f *y, float alpha, const vec2f *x) |
|
void | vec3f_add_scaled (vec3f *y, float alpha, const vec3f *x) |
|
float | dot (const vec2f &x, const vec2f &y) |
|
float | dot (const vec3f &x, const vec3f &y) |
|
float | sqr_magnitude (const vec2f &x) |
|
float | sqr_magnitude (const vec3f &x) |
|
float | norm2 (const vec2f &x) |
|
float | norm2 (const vec3f &x) |
|
void | normalize (vec2f &x) |
|
void | normalize (vec3f &x) |
|
vec2f | normalized (const vec2f &x) |
|
vec3f | normalized (const vec3f &x) |
|
float | distance (const vec2f &p0, const vec2f &p1) |
|
float | distance (const vec3f &p0, const vec3f &p1) |
|
float | closer_than (const vec2f &p0, const vec2f &p1, float dist) |
|
float | closer_than (const vec3f &p0, const vec3f &p1, float dist) |
|