]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/cml/quaternion/quaternion.h
cml version bump to 1.0.1
[chaz/yoink] / src / Moof / cml / quaternion / quaternion.h
index 771f34ad0424098a84e895dcb4aa161f5c7a25b2..6f320f376326353b2c369cff29057d1f4e2510fc 100644 (file)
@@ -445,6 +445,13 @@ class quaternion
         return (*this = *this * e);
     }
 
+    /** Return access to the data as a raw pointer. */
+    typename vector_type::pointer data() { return m_q.data(); }
+
+    /** Return access to the data as a const raw pointer. */
+    const typename vector_type::pointer data() const { return m_q.data(); }
+
+
     /* NOTE: Quaternion division no longer supported, but I'm leaving the
        code here for reference (Jesse) */
 
This page took 0.018545 seconds and 4 git commands to generate.