14 #ifndef EGGATTRIBUTES_H 15 #define EGGATTRIBUTES_H 40 INLINE
bool has_normal()
const;
41 INLINE
const LNormald &get_normal()
const;
42 INLINE
void set_normal(
const LNormald &normal);
43 INLINE
void clear_normal();
47 INLINE
bool has_color()
const;
48 INLINE LColor get_color()
const;
49 INLINE
void set_color(
const LColor &Color);
50 INLINE
void clear_color();
54 void write(std::ostream &out,
int indent_level)
const;
55 INLINE
bool sorts_less_than(
const EggAttributes &other)
const;
58 void transform(
const LMatrix4d &mat);
78 static void init_type() {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The set of attributes that may be applied to vertices as well as polygons, such as surface normal and...
This class is intended to be the base class of all objects in Panda that might be allocated and delet...
An STL function object class, this is intended to be used on any ordered collection of class objects ...
TypeHandle is the identifier used to differentiate C++ class types.