Panda3D
 All Classes Functions Variables Enumerations
collisionGeom.I
1 // Filename: collisionGeom.I
2 // Created by: drose (01Mar06)
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 
16 ////////////////////////////////////////////////////////////////////
17 // Function: CollisionGeom::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE CollisionGeom::
22 CollisionGeom(const LVecBase3 &a, const LVecBase3 &b,
23  const LVecBase3 &c) :
24  CollisionPolygon(a, b, c)
25 {
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: CollisionGeom::Copy Constructor
30 // Access: Private
31 // Description:
32 ////////////////////////////////////////////////////////////////////
33 CollisionGeom::
34 CollisionGeom(const CollisionGeom &copy) :
35  CollisionPolygon(copy)
36 {
37 }
This is the base class for all three-component vectors and points.
Definition: lvecBase3.h:105
A special CollisionPolygon created just for the purpose of detecting collision against geometry...
Definition: collisionGeom.h:33