mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
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;
|
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
|
// Function: MaterialPool::ns_get_material
|
||||||
// Access: Public
|
// Access: Public
|
||||||
@ -91,14 +102,3 @@ get_ptr() {
|
|||||||
}
|
}
|
||||||
return _global_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…
x
Reference in New Issue
Block a user