5#include <AH/PrintStream/PrintStream.hpp>
18std::ostream &
operator<<(std::ostream &os, Vec2f v) {
19 return os <<
"(" << v.x <<
", " << v.y <<
")";
24std::ostream &
operator<<(std::ostream &os, Vec3f v) {
25 return os <<
"(" << v.x <<
", " << v.y <<
", " << v.z <<
")";
33 return os <<
"(" << v.
x <<
", " << v.
y <<
")";
39 return os <<
"(" << v.
x <<
", " << v.
y <<
", " << v.
z <<
")";
#define BEGIN_AH_NAMESPACE
Definition of Vec2f and Vec3f.
#define AH_DIAGNOSTIC_POP()
#define AH_DIAGNOSTIC_WERROR()
Print & operator<<(Print &os, Quaternion e)
Printing.
Type for 2D vectors of floating point numbers.
float y
The y component of the vector.
Print & operator<<(Print &os, Vec2f v)
Printing.
float x
The x component of the vector.
Type for 3D vectors of floating point numbers.
Print & operator<<(Print &os, Vec3f v)
Printing.
float y
The y component of the vector.
float x
The x component of the vector.
float z
The z component of the vector.