|
@@ -25,6 +25,18 @@ ModelPool *ModelPool::_global_ptr = (ModelPool *)NULL;
|
|
|
|
|
|
|
|
static Loader model_loader;
|
|
static Loader model_loader;
|
|
|
|
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: ModelPool::write
|
|
|
|
|
+// Access: Published, Static
|
|
|
|
|
+// Description: Lists the contents of the model pool to the
|
|
|
|
|
+// indicated output stream.
|
|
|
|
|
+// Helps with debugging.
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+void ModelPool::
|
|
|
|
|
+write(ostream &out) {
|
|
|
|
|
+ get_ptr()->ns_list_contents(out);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: ModelPool::ns_has_model
|
|
// Function: ModelPool::ns_has_model
|
|
|
// Access: Private
|
|
// Access: Private
|
|
@@ -159,15 +171,3 @@ get_ptr() {
|
|
|
}
|
|
}
|
|
|
return _global_ptr;
|
|
return _global_ptr;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-// Function: ModelPool::write
|
|
|
|
|
-// Access: Public, Static
|
|
|
|
|
-// Description: Lists the contents of the model pool to the
|
|
|
|
|
-// indicated output stream.
|
|
|
|
|
-// Helps with debugging.
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-void ModelPool::
|
|
|
|
|
-write(ostream &out, unsigned int) {
|
|
|
|
|
- get_ptr()->ns_list_contents(out);
|
|
|
|
|
-}
|
|
|