incorrect INLINE, move method body, change Access comment
This commit is contained in:
parent
a14e7211bf
commit
4bced0c109
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue