hyporo-cpp/source/hpr/csg/shape.cpp
2023-04-10 22:01:56 +05:00

17 lines
422 B
C++

#include <hpr/csg/shape.hpp>
#include <hpr/csg/compound.hpp>
bool std::less<hpr::csg::Shape>::operator()(const hpr::csg::Shape& s1, const hpr::csg::Shape& s2) const
{
return s1.tshape().HashCode(std::numeric_limits<Standard_Integer>::max()) <
s2.tshape().HashCode(std::numeric_limits<Standard_Integer>::max());
}
namespace hpr::csg
{
std::map<Shape, Shape::Metadata> Shape::metadata;
}