26 write(std::ostream &out,
int indent_level)
const {
27 if (get_value() != CS_default &&
28 get_value() != CS_invalid) {
30 <<
"<CoordinateSystem> { ";
31 switch (get_value()) {
49 out <<
"/* Invalid coordinate system " << (int)get_value() <<
" */";
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
TypeHandle is the identifier used to differentiate C++ class types.
virtual void write(std::ostream &out, int indent_level) const
Writes the coordinate system definition to the indicated output stream in Egg format.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.