Panda3D
odeContact.cxx
1 // Filename: odeContact.cxx
2 // Created by: joswilso (27Dec06)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "config_ode.h"
16 #include "odeContact.h"
17 
18 TypeHandle OdeContact::_type_handle;
19 
20 OdeContact::
21 OdeContact() :
22  _contact() {
23 }
24 
25 OdeContact::
26 OdeContact(const dContact &contact) :
27  _contact(contact) {
28 }
29 
30 OdeContact::
31 ~OdeContact() {
32 }
33 
34 const dContact* OdeContact::
35 get_contact_ptr() const {
36  return &_contact;
37 }
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85