26 INLINE
explicit EggSurface(
const std::string &name =
"");
30 INLINE
void set_u_subdiv(
int subdiv);
31 INLINE
int get_u_subdiv()
const;
32 INLINE
void set_v_subdiv(
int subdiv);
33 INLINE
int get_v_subdiv()
const;
44 static void init_type() {
45 EggPrimitive::init_type();
47 EggPrimitive::get_class_type());
50 return get_class_type();
52 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
A parametric surface of some kind.
TypeHandle is the identifier used to differentiate C++ class types.