]> Dogcows Code - chaz/yoink/blobdiff - src/moof/contact.hh
the massive refactoring effort
[chaz/yoink] / src / moof / contact.hh
similarity index 56%
rename from src/Moof/Contact.hh
rename to src/moof/contact.hh
index 82e049d761f076c9a88b6c25a9b9e24c6087c8f8..a14718a64117b5bfcf264dc96de92122993c6ef3 100644 (file)
 #ifndef _MOOF_CONTACT_HH_
 #define _MOOF_CONTACT_HH_
 
-#include <Moof/Math.hh>
+/**
+ * \file contact.hh
+ * Represents a collision between entities.
+ */
 
+#include <moof/math.hh>
 
-namespace Mf {
+
+namespace moof {
 
 
 template <int D = 3>
-struct Contact
+struct contact
 {
-       typedef cml::vector< Scalar, cml::fixed<D> > Vector;
+       typedef moof::vector< scalar, fixed<D> > vector;
 
-       Vector  point;                  // point of contact
-       Scalar  distance;               // distance of penetration
-       Vector  normal;                 // normal of surface at point of contact
+       vector  point;                  // point of contact
+       scalar  distance;               // distance of penetration
+       vector  normal;                 // normal of surface at point of contact
 
-       bool operator < (const Contact& rhs)
+       bool operator < (const contact& rhs)
        {
                return distance < rhs.distance;
        }
 };
 
 
-} // namespace Mf
+} // namespace moof
 
 #endif // _MOOF_CONTACT_HH_
 
This page took 0.022587 seconds and 4 git commands to generate.