*** empty log message ***

This commit is contained in:
Robert Osfield
2001-09-28 16:56:19 +00:00
parent 57fd2b4bcb
commit 12f77f141e
4 changed files with 22 additions and 2 deletions

View File

@@ -48,8 +48,8 @@ class SG_EXPORT Matrix : public Object
bool operator == (const Matrix& m) const { return compare(m)==0; }
bool operator != (const Matrix& m) const { return compare(m)!=0; }
inline float& operator()(int col, int row) { return _mat[row][col]; }
inline float operator()(int col, int row) const { return _mat[row][col]; }
inline float& operator()(int row, int col) { return _mat[row][col]; }
inline float operator()(int row, int col) const { return _mat[row][col]; }
void set( float const * const );
void set( float a00, float a01, float a02, float a03,

View File

@@ -71,6 +71,10 @@ class SG_EXPORT StateSet : public Object
/** get specified StateAttribute for specified type.
* returns NULL if no type is contained within StateSet.*/
StateAttribute* getAttribute(const StateAttribute::Type type);
/** get specified const StateAttribute for specified type.
* returns NULL if no type is contained within const StateSet.*/
const StateAttribute* getAttribute(const StateAttribute::Type type) const;
/** get specified RefAttributePair for specified type.