Panda3D
rigidBodyCombiner.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file rigidBodyCombiner.I
10  * @author drose
11  * @date 2007-02-22
12  */
13 
14 /**
15  *
16  */
17 INLINE RigidBodyCombiner::VDUnifier::
18 VDUnifier(const VertexTransform *transform, const GeomVertexData *orig) :
19  _transform(transform),
20  _orig(orig)
21 {
22 }
23 
24 /**
25  *
26  */
27 INLINE bool RigidBodyCombiner::VDUnifier::
28 operator < (const RigidBodyCombiner::VDUnifier &other) const {
29  if (_transform != other._transform) {
30  return _transform < other._transform;
31  }
32  return _orig < other._orig;
33 }
This is an abstract base class that holds a pointer to some transform, computed in some arbitrary way...
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...