dded osg::ClipNode class for managing OpenGL clipping planes, and osgclip demo.
This commit is contained in:
@@ -60,13 +60,13 @@ class SG_EXPORT Matrix : public Object
|
||||
inline Matrix& operator = (const Matrix& other)
|
||||
{
|
||||
if( &other == this ) return *this;
|
||||
set((float const * const)(other._mat));
|
||||
std::copy((const float*)other._mat,(const float*)other._mat+16,(float*)(_mat));
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline void set(const Matrix& other)
|
||||
{
|
||||
set((float const * const)(other._mat));
|
||||
std::copy((const float*)other._mat,(const float*)other._mat+16,(float*)(_mat));
|
||||
}
|
||||
|
||||
inline void set(float const * const ptr)
|
||||
|
||||
Reference in New Issue
Block a user