]>
Dogcows Code - chaz/yoink/blob - src/Moof/Contact.hh
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
10 **************************************************************************/
12 #ifndef _MOOF_CONTACT_HH_
13 #define _MOOF_CONTACT_HH_
15 #include <Moof/Math.hh>
24 typedef cml::vector
< Scalar
, cml::fixed
<D
> > Vector
;
26 Vector point
; // point of contact
27 Scalar distance
; // distance of penetration
28 Vector normal
; // normal of surface at point of contact
30 bool operator < (const Contact
& rhs
)
32 return distance
< rhs
.distance
;
39 #endif // _MOOF_CONTACT_HH_
This page took 0.039355 seconds and 4 git commands to generate.