Panda3D
eggPatch.I
1 // Filename: eggPatch.I
2 // Created by: drose (27Apr12)
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: EggPatch::Constructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE EggPatch::
22 EggPatch(const string &name) : EggPrimitive(name) {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: EggPatch::Copy constructor
27 // Access: Published
28 // Description:
29 ////////////////////////////////////////////////////////////////////
30 INLINE EggPatch::
31 EggPatch(const EggPatch &copy) : EggPrimitive(copy) {
32 }
33 
34 ////////////////////////////////////////////////////////////////////
35 // Function: EggPatch::Copy assignment operator
36 // Access: Published
37 // Description:
38 ////////////////////////////////////////////////////////////////////
39 INLINE EggPatch &EggPatch::
40 operator = (const EggPatch &copy) {
41  EggPrimitive::operator = (copy);
42  return *this;
43 }
A base class for any of a number of kinds of geometry primitives: polygons, point lights...
Definition: eggPrimitive.h:51
A single "patch", a special primitive to be rendered only with a tessellation shader.
Definition: eggPatch.h:27