void Spew( const char* group, const YawPitchRange &angle ) { SPEW((group, "<+")); Spew(group, angle.yaw); SPEW((group, ",+")); Spew(group, angle.pitch); SPEW((group, "; %f+", angle.range)); }
template <class T> void Spew( const char* group, const Stuff::Vector2DOf<T> &vector ) { Check_Object(this); SPEW((group, "<+")); Spew(group, vector.x); SPEW((group, ",+")); Spew(group, vector.y); SPEW((group, ">+")); }
void Spew( const char* group, const EulerAngles &angle ) { Check_Object(&angle); SPEW((group, "<+")); Spew(group, angle.pitch); SPEW((group, ",+")); Spew(group, angle.yaw); SPEW((group, ",+")); Spew(group, angle.roll); SPEW((group, ">+")); }
void Spew( const char* group, const Sphere& sphere ) { Check_Object(&sphere); SPEW((group, "\n\tSphere Centerpoint: +")); Spew(group, sphere.center); SPEW((group, "\tRadius: %f", sphere.radius)); }