15 #ifndef EGGTRIANGLEFAN_H
16 #define EGGTRIANGLEFAN_H
18 #include "pandabase.h"
20 #include "eggCompositePrimitive.h"
31 INLINE EggTriangleFan(
const EggTriangleFan ©);
32 INLINE EggTriangleFan &operator = (
const EggTriangleFan ©);
33 virtual ~EggTriangleFan();
35 virtual void write(ostream &out,
int indent_level)
const;
39 virtual int get_num_lead_vertices()
const;
40 virtual bool do_triangulate(
EggGroupNode *container)
const;
46 static void init_type() {
47 EggCompositePrimitive::init_type();
48 register_type(_type_handle,
"EggTriangleFan",
49 EggCompositePrimitive::get_class_type());
52 return get_class_type();
54 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
60 #include "eggTriangleFan.I"
The base class for primitives such as triangle strips and triangle fans, which include several compon...
A base class for nodes in the hierarchy that are not leaf nodes.
A connected fan of triangles.
TypeHandle is the identifier used to differentiate C++ class types.
virtual void apply_first_attribute()
Sets the first vertex of the triangle (or each component) to the primitive normal and/or color...