/[enigma]/enigma/world.hh
ViewVC logotype

Diff of /enigma/world.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by mhawlisch, Sun Dec 8 18:45:12 2002 UTC revision 1.14 by dheck, Sat Dec 14 23:43:06 2002 UTC
# Line 78  namespace world Line 78  namespace world
78          // Constructor.          // Constructor.
79          StoneContact(Actor *a, Stone *s,          StoneContact(Actor *a, Stone *s,
80                       const V3 &cp, const V3 &n);                       const V3 &cp, const V3 &n);
81            StoneContact();
82                    
83          // Variables.          // Variables.
84          Actor           *actor;          Actor           *actor;
# Line 87  namespace world Line 88  namespace world
88          V3      contact_point;  // where do the shapes meet? (world coords)          V3      contact_point;  // where do the shapes meet? (world coords)
89          V3      normal;         // the surface normal at the contact point          V3      normal;         // the surface normal at the contact point
90          bool    is_collision;   // actor moves towards the stone, not away          bool    is_collision;   // actor moves towards the stone, not away
91            bool    fake_collision;
92            bool    is_contact;
93      };      };
94    
95      // Which of the four faces of the stone does the actor touch?      // Which of the four faces of the stone does the actor touch?

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26