dded osg::ClipNode class for managing OpenGL clipping planes, and osgclip demo.

This commit is contained in:
Robert Osfield
2002-05-02 00:14:40 +00:00
parent 3c25b7ab7c
commit ae8076f83b
20 changed files with 610 additions and 35 deletions

View File

@@ -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)