The small3d library
|
3 component float vector More...
#include <Math.hpp>
Public Member Functions | |
Vec3 (float x, float y, float z) | |
Vec3 (float v) | |
Vec3 & | operator+= (const Vec3 &other) |
Vec3 | operator+ (const Vec3 &other) |
Vec3 | operator* (const Vec3 &other) const |
Vec3 | operator* (const float v) const |
Vec3 | operator/ (const float v) const |
Vec3 & | operator= (const Vec3 &other) |
template<class Archive > | |
void | serialize (Archive &archive) |
Public Attributes | |
float | x = 0.0f |
float | y = 0.0f |
float | z = 0.0f |
3 component float vector
Quaternion.