![]() |
The small3d library
Tiny C++ 3D game development library for Win/Linux
|
3 component float vector More...
#include <Math.hpp>
Public Member Functions | |
| Vec3 (float x, float y, float z) | |
| Vec3 (float v) | |
| Vec3 (const Vec4 &vec) | |
| Vec3 & | operator+= (const Vec3 &other) |
| Vec3 | operator+ (const Vec3 &other) const |
| Vec3 & | operator-= (const Vec3 &other) |
| Vec3 | operator- (const Vec3 &other) const |
| Vec3 | operator* (const Vec3 &other) const |
| Vec3 | operator* (const float v) const |
| Vec3 | operator/ (const float v) const |
| Vec3 & | operator/= (const float v) |
| Vec3 & | operator= (const Vec3 &other) |
| Vec3 & | operator+= (const float v) |
| bool | operator== (const Vec3 &other) const |
| bool | operator!= (const Vec3 &other) const |
| 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