remove 'deprecated' comments

This commit is contained in:
David Rose 2007-05-23 16:11:50 +00:00
parent 5910b103d9
commit 4854ec070c
3 changed files with 9 additions and 15 deletions

View File

@ -53,9 +53,11 @@ TextureAttrib(const TextureAttrib &copy) :
// TextureAttrib, indicating that it should disable // TextureAttrib, indicating that it should disable
// texturing. // texturing.
// //
// This method is deprecated, and is provided for // If multitexture is in effect, a TextureAttrib may not
// backward compatibility; you should use the // be strictly "on" or "off"; therefore, to get a more
// multitexture form of this instead. // precise answer to this question, you should consider
// using has_all_off() or get_num_off_stages() or
// has_off_stage() instead.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE bool TextureAttrib:: INLINE bool TextureAttrib::
is_off() const { is_off() const {

View File

@ -48,11 +48,8 @@ public:
// Function: TextureAttrib::make // Function: TextureAttrib::make
// Access: Published, Static // Access: Published, Static
// Description: Constructs a new TextureAttrib object suitable for // Description: Constructs a new TextureAttrib object suitable for
// rendering the indicated texture onto geometry. // rendering the indicated texture onto geometry, using
// // the default TextureStage.
// This method is deprecated, and is provided for
// backward compatibility; you should use the
// multitexture form of this instead.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) TextureAttrib:: CPT(RenderAttrib) TextureAttrib::
make(Texture *texture) { make(Texture *texture) {
@ -64,10 +61,6 @@ make(Texture *texture) {
// Access: Published, Static // Access: Published, Static
// Description: Constructs a new TextureAttrib object suitable for // Description: Constructs a new TextureAttrib object suitable for
// rendering untextured geometry. // rendering untextured geometry.
//
// This method is deprecated, and is provided for
// backward compatibility; you should use the
// multitexture form of this instead.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) TextureAttrib:: CPT(RenderAttrib) TextureAttrib::
make_off() { make_off() {

View File

@ -41,9 +41,8 @@ protected:
INLINE TextureAttrib(const TextureAttrib &copy); INLINE TextureAttrib(const TextureAttrib &copy);
PUBLISHED: PUBLISHED:
// These methods are deprecated, but they remain for now, for // These methods are used to create a simple, single-textured layer.
// backward compatibility. They treat the TextureAttrib as a // For multitexture, use the multitexture interfaces, further below.
// single-texture application.
static CPT(RenderAttrib) make(Texture *tex); static CPT(RenderAttrib) make(Texture *tex);
static CPT(RenderAttrib) make_off(); static CPT(RenderAttrib) make_off();