The small3d library
Public Member Functions | Public Attributes | List of all members
small3d::Vec3 Class Reference

3 component float vector More...

#include <Math.hpp>

Public Member Functions

 Vec3 (float x, float y, float z)
 
 Vec3 (float v)
 
Vec3operator+= (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
 
Vec3operator= (const Vec3 &other)
 
template<class Archive >
void serialize (Archive &archive)
 

Public Attributes

float x = 0.0f
 
float y = 0.0f
 
float z = 0.0f
 

Detailed Description

3 component float vector

Quaternion.


The documentation for this class was generated from the following files: