14 #ifndef EGGTRIANGLESTRIP_H 15 #define EGGTRIANGLESTRIP_H 34 virtual void write(std::ostream &out,
int indent_level)
const override;
37 virtual int get_num_lead_vertices()
const override;
38 virtual bool do_triangulate(
EggGroupNode *container)
const override;
44 static void init_type() {
45 EggCompositePrimitive::init_type();
47 EggCompositePrimitive::get_class_type());
50 return get_class_type();
52 virtual TypeHandle force_init_type()
override {
54 return get_class_type();
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
A connected strip of triangles.