incorrect INLINE, move method body, change Access comment

This commit is contained in:
David Rose 2005-01-06 15:53:43 +00:00
parent a14e7211bf
commit 4bced0c109

View File

@ -23,6 +23,17 @@
MaterialPool *MaterialPool::_global_ptr = (MaterialPool *)NULL;
////////////////////////////////////////////////////////////////////
// Function: MaterialPool::write
// Access: Published, Static
// Description: Lists the contents of the material pool to the
// indicated output stream.
////////////////////////////////////////////////////////////////////
void MaterialPool::
write(ostream &out, unsigned int) {
get_ptr()->ns_list_contents(out);
}
////////////////////////////////////////////////////////////////////
// Function: MaterialPool::ns_get_material
// Access: Public
@ -91,14 +102,3 @@ get_ptr() {
}
return _global_ptr;
}
////////////////////////////////////////////////////////////////////
// Function: MaterialPool::write
// Access: Public, Static
// Description: Lists the contents of the material pool to the
// indicated output stream.
////////////////////////////////////////////////////////////////////
INLINE void MaterialPool::
write(ostream &out, unsigned int) {
get_ptr()->ns_list_contents(out);
}