MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
5 #include <AH/PrintStream/PrintStream.hpp>
18 std::ostream &
operator<<(std::ostream &os, Vec2f v) {
19 return os <<
"(" << v.x <<
", " << v.y <<
")";
24 std::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 <<
")";
float y
The y component of the vector.
float x
The x component of the vector.
#define AH_DIAGNOSTIC_POP()
Type for 3D vectors of floating point numbers.
float x
The x component of the vector.
Print & operator<<(Print &os, Vec3f v)
Printing.
Type for 2D vectors of floating point numbers.
#define AH_DIAGNOSTIC_WERROR()
Print & operator<<(Print &os, Vec2f v)
Printing.
#define BEGIN_AH_NAMESPACE
float z
The z component of the vector.
float y
The y component of the vector.
Print & operator<<(Print &os, Quaternion e)
Printing.
Definition of Vec2f and Vec3f.