tests and fixes for vector implementation
[MicroTrace.git] / Vec3f.hxx
index 7f0c77d..908a8fc 100644 (file)
--- a/Vec3f.hxx
+++ b/Vec3f.hxx
@@ -70,14 +70,19 @@ public:
        //! element access functions ( read-only and read-write )
        float operator[](unsigned int i) const;
        float& operator[](unsigned int i);
-
+/*
+       inline std::string& operator std::string() {
+         std::string s = "(" + v[0] << "," << v[1] << "," << v[2] << ")");
+         return std::string(
+       }
+*/
 private:
        float m_values[3];
 };
 
 inline std::ostream& operator<<(std::ostream& o, const Vec3f& v) {
-       o << "(" << v[0] << "," << v[1] << "," << v[2] << ")";
-       return o;
+  o << "(" << v[0] << "," << v[1] << "," << v[2] << ")";
+  return o;
 }
 
 #endif
This page took 0.030233 seconds and 4 git commands to generate.