16std::ostream &
operator<<(std::ostream &os, Vec2f v) {
17 return os <<
"(" << v.x <<
", " << v.y <<
")";
22std::ostream &
operator<<(std::ostream &os, Vec3f v) {
23 return os <<
"(" << v.x <<
", " << v.y <<
", " << v.z <<
")";
31 return os <<
"(" <<
v.x <<
", " <<
v.y <<
")";
37 return os <<
"(" <<
v.x <<
", " <<
v.y <<
", " <<
v.z <<
")";
#define BEGIN_AH_NAMESPACE
Print & operator<<(Print &os, Cable c)
Definition of Vec2f and Vec3f.
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
Type for 2D vectors of floating point numbers.
Print & operator<<(Print &os, Vec2f v)
Printing.
Type for 3D vectors of floating point numbers.
Print & operator<<(Print &os, Vec3f v)
Printing.