PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
ostream & | enquote_string (ostream &out, const string &str, int indent_level, bool always_quote) |
Writes the string to the indicated output stream. More... | |
void | write_transform (ostream &out, const LMatrix3d &mat, int indent_level) |
A helper function to write out a 3x3 transform matrix. More... | |
void | write_transform (ostream &out, const LMatrix4d &mat, int indent_level) |
A helper function to write out a 4x4 transform matrix. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file eggMiscFuncs.cxx.
ostream& enquote_string | ( | ostream & | out, |
const string & | str, | ||
int | indent_level, | ||
bool | always_quote | ||
) |
Writes the string to the indicated output stream.
If the string contains any characters special to egg, writes quotation marks around it. If always_quote is true, writes quotation marks regardless.
Definition at line 30 of file eggMiscFuncs.cxx.
References indent().
Referenced by EggExternalReference::write(), EggTexture::write(), EggSAnimData::write(), EggComment::write(), EggGroup::write_collide_flags(), EggNamedObject::write_header(), EggGroup::write_object_types(), and EggGroup::write_tags().
void write_transform | ( | ostream & | out, |
const LMatrix3d & | mat, | ||
int | indent_level | ||
) |
A helper function to write out a 3x3 transform matrix.
Definition at line 76 of file eggMiscFuncs.cxx.
void write_transform | ( | ostream & | out, |
const LMatrix4d & | mat, | ||
int | indent_level | ||
) |
A helper function to write out a 4x4 transform matrix.
Definition at line 96 of file eggMiscFuncs.cxx.