Panda3D
 All Classes Functions Variables Enumerations
geomContext.I
1 // Filename: geomContext.I
2 // Created by: drose (19Mar04)
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: GeomContext::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE GeomContext::
22 GeomContext(Geom *geom) :
23  _geom(geom)
24 {
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: GeomContext::get_geom
29 // Access: Published
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 INLINE Geom *GeomContext::
33 get_geom() const {
34  return _geom;
35 }
A container for geometry primitives.
Definition: geom.h:58