PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
PT (EggCompositePrimitive) EggCompositePrimitive | |
Subdivides the composite primitive into triangles and adds those triangles to the parent group node in place of the original primitive. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file eggCompositePrimitive.cxx.
PT | ( | EggCompositePrimitive | ) |
Subdivides the composite primitive into triangles and adds those triangles to the parent group node in place of the original primitive.
Returns a pointer to the original primitive, which is likely about to be destructed.
If convex_also is true, both concave and convex polygons will be subdivided into triangles; otherwise, only concave polygons will be subdivided, and convex polygons will be copied unchanged into the container.
Definition at line 100 of file eggCompositePrimitive.cxx.