Пример #1
0
        /*
        void extendBy(const XfBox3<Type> &bb)
        {

        }

        bool intersect(const Vec3<Type> &pt) const
        {
        Vec3<Type> p;
        m_invertedMatrix.multVecMatrix(pt, p);
        return Box3<Type>::intersect(p);
        }

        bool intersect(const Box3<Type> &bb) const
        {
        return false;
        }

        bool intersect (const XfBox3<Type> &bb) const
        {
        return false;	
        }
        */
        Box3<Type> project () const
        {
            Box3<Type> box =  (Box3<Type>)*this;

            if (!box.isEmpty()) box.transform(m_matrix);

            return box;
        }