hyporo-cpp/source/hpr/csg/shape.cpp

17 lines
422 B
C++
Raw Normal View History

2023-03-13 22:27:09 +05:00
#include <hpr/csg/shape.hpp>
2023-04-10 22:01:56 +05:00
#include <hpr/csg/compound.hpp>
2023-03-13 22:27:09 +05:00
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());
}
2023-04-10 22:01:56 +05:00
2023-03-13 22:27:09 +05:00
namespace hpr::csg
{
std::map<Shape, Shape::Metadata> Shape::metadata;
}