Panda3D
eggTriangleStrip.I
1 // Filename: eggTriangleStrip.I
2 // Created by: drose (13Mar05)
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: EggTriangleStrip::Constructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE EggTriangleStrip::
22 EggTriangleStrip(const string &name) : EggCompositePrimitive(name) {
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: EggTriangleStrip::Copy constructor
27 // Access: Published
28 // Description:
29 ////////////////////////////////////////////////////////////////////
30 INLINE EggTriangleStrip::
31 EggTriangleStrip(const EggTriangleStrip &copy) : EggCompositePrimitive(copy) {
32 }
33 
34 ////////////////////////////////////////////////////////////////////
35 // Function: EggTriangleStrip::Copy assignment operator
36 // Access: Published
37 // Description:
38 ////////////////////////////////////////////////////////////////////
39 INLINE EggTriangleStrip &EggTriangleStrip::
40 operator = (const EggTriangleStrip &copy) {
41  EggCompositePrimitive::operator = (copy);
42  return *this;
43 }
The base class for primitives such as triangle strips and triangle fans, which include several compon...
A connected strip of triangles.