mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
remove unused parameter
This commit is contained in:
parent
4bced0c109
commit
2d3f3a6519
@ -30,7 +30,7 @@ MaterialPool *MaterialPool::_global_ptr = (MaterialPool *)NULL;
|
|||||||
// indicated output stream.
|
// indicated output stream.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void MaterialPool::
|
void MaterialPool::
|
||||||
write(ostream &out, unsigned int) {
|
write(ostream &out) {
|
||||||
get_ptr()->ns_list_contents(out);
|
get_ptr()->ns_list_contents(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ PUBLISHED:
|
|||||||
INLINE static const Material *get_material(const CPT(Material) &temp);
|
INLINE static const Material *get_material(const CPT(Material) &temp);
|
||||||
INLINE static int garbage_collect();
|
INLINE static int garbage_collect();
|
||||||
INLINE static void list_contents(ostream &out);
|
INLINE static void list_contents(ostream &out);
|
||||||
static void write(ostream &out, unsigned int indent=0);
|
static void write(ostream &out);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
INLINE MaterialPool();
|
INLINE MaterialPool();
|
||||||
|
@ -26,6 +26,18 @@
|
|||||||
TexturePool *TexturePool::_global_ptr = (TexturePool *)NULL;
|
TexturePool *TexturePool::_global_ptr = (TexturePool *)NULL;
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: TexturePool::write
|
||||||
|
// Access: Published, Static
|
||||||
|
// Description: Lists the contents of the texture pool to the
|
||||||
|
// indicated output stream.
|
||||||
|
// For debugging.
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
void TexturePool::
|
||||||
|
write(ostream &out) {
|
||||||
|
get_ptr()->ns_list_contents(out);
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: TexturePool::ns_has_texture
|
// Function: TexturePool::ns_has_texture
|
||||||
// Access: Private
|
// Access: Private
|
||||||
@ -265,15 +277,3 @@ get_ptr() {
|
|||||||
}
|
}
|
||||||
return _global_ptr;
|
return _global_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
// Function: TexturePool::write
|
|
||||||
// Access: Published, Static
|
|
||||||
// Description: Lists the contents of the texture pool to the
|
|
||||||
// indicated output stream.
|
|
||||||
// For debugging.
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
void TexturePool::
|
|
||||||
write(ostream &out, unsigned int) {
|
|
||||||
get_ptr()->ns_list_contents(out);
|
|
||||||
}
|
|
||||||
|
@ -61,7 +61,7 @@ PUBLISHED:
|
|||||||
INLINE static const string &get_fake_texture_image();
|
INLINE static const string &get_fake_texture_image();
|
||||||
|
|
||||||
// static void output(ostream &out);
|
// static void output(ostream &out);
|
||||||
static void write(ostream &out, unsigned int indent=0);
|
static void write(ostream &out);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
INLINE TexturePool();
|
INLINE TexturePool();
|
||||||
|
@ -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);
|
|
||||||
}
|
|
||||||
|
@ -59,7 +59,7 @@ PUBLISHED:
|
|||||||
INLINE static int garbage_collect();
|
INLINE static int garbage_collect();
|
||||||
|
|
||||||
INLINE static void list_contents(ostream &out);
|
INLINE static void list_contents(ostream &out);
|
||||||
static void write(ostream &out, unsigned int indent=0);
|
static void write(ostream &out);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
INLINE ModelPool();
|
INLINE ModelPool();
|
||||||
|
@ -29,6 +29,17 @@ FontPool *FontPool::_global_ptr = (FontPool *)NULL;
|
|||||||
|
|
||||||
static Loader model_loader;
|
static Loader model_loader;
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: FontPool::write
|
||||||
|
// Access: Published, Static
|
||||||
|
// Description: Lists the contents of the font pool to the
|
||||||
|
// indicated output stream.
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
void FontPool::
|
||||||
|
write(ostream &out) {
|
||||||
|
get_ptr()->ns_list_contents(out);
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: FontPool::ns_has_font
|
// Function: FontPool::ns_has_font
|
||||||
// Access: Private
|
// Access: Private
|
||||||
@ -243,14 +254,3 @@ get_ptr() {
|
|||||||
}
|
}
|
||||||
return _global_ptr;
|
return _global_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
// Function: FontPool::write
|
|
||||||
// Access: Public, Static
|
|
||||||
// Description: Lists the contents of the font pool to the
|
|
||||||
// indicated output stream.
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
void FontPool::
|
|
||||||
write(ostream &out, unsigned int) {
|
|
||||||
get_ptr()->ns_list_contents(out);
|
|
||||||
}
|
|
||||||
|
@ -49,7 +49,7 @@ PUBLISHED:
|
|||||||
INLINE static int garbage_collect();
|
INLINE static int garbage_collect();
|
||||||
|
|
||||||
INLINE static void list_contents(ostream &out);
|
INLINE static void list_contents(ostream &out);
|
||||||
static void write(ostream &out, unsigned int indent=0);
|
static void write(ostream &out);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
INLINE FontPool();
|
INLINE FontPool();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user