X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2FMoof%2FContact.hh;fp=src%2FMoof%2FContact.hh;h=0000000000000000000000000000000000000000;hb=831f04d4bc19a390415ac0bbac4331c7a65509bc;hp=82e049d761f076c9a88b6c25a9b9e24c6087c8f8;hpb=299af4f2047e767e5d79501c26444473bda64c64;p=chaz%2Fyoink diff --git a/src/Moof/Contact.hh b/src/Moof/Contact.hh deleted file mode 100644 index 82e049d..0000000 --- a/src/Moof/Contact.hh +++ /dev/null @@ -1,40 +0,0 @@ - -/*] Copyright (c) 2009-2010, Charles McGarvey [************************** -**] All rights reserved. -* -* vi:ts=4 sw=4 tw=75 -* -* Distributable under the terms and conditions of the 2-clause BSD license; -* see the file COPYING for a complete text of the license. -* -**************************************************************************/ - -#ifndef _MOOF_CONTACT_HH_ -#define _MOOF_CONTACT_HH_ - -#include - - -namespace Mf { - - -template -struct Contact -{ - typedef cml::vector< Scalar, cml::fixed > Vector; - - Vector point; // point of contact - Scalar distance; // distance of penetration - Vector normal; // normal of surface at point of contact - - bool operator < (const Contact& rhs) - { - return distance < rhs.distance; - } -}; - - -} // namespace Mf - -#endif // _MOOF_CONTACT_HH_ -