*** empty log message ***

This commit is contained in:
David Rose 2001-04-13 01:22:46 +00:00
parent eca7fbee73
commit 231ca66d01
3 changed files with 19 additions and 15 deletions

View File

@ -64,17 +64,3 @@ INLINE float AlphaTransformProperty::
get_scale() const {
return _scale;
}
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformProperty::compare_to
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE int AlphaTransformProperty::
compare_to(const AlphaTransformProperty &other) const {
if (_offset < other._offset)
return -1;
else if (_offset > other._offset)
return 1;
return 0;
}

View File

@ -5,6 +5,24 @@
#include "alphaTransformProperty.h"
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformProperty::compare_to
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
int AlphaTransformProperty::
compare_to(const AlphaTransformProperty &other) const {
if (_offset < other._offset)
return -1;
else if (_offset > other._offset)
return 1;
if (_scale < other._scale)
return -1;
else if (_scale > other._scale)
return 1;
return 0;
}
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformProperty::output
// Access: Public

View File

@ -24,7 +24,7 @@ public:
INLINE void set_scale(float scale);
INLINE float get_scale() const;
INLINE int compare_to(const AlphaTransformProperty &other) const;
int compare_to(const AlphaTransformProperty &other) const;
void output(ostream &out) const;
private: