@@ -103,13 +103,19 @@ namespace geode
103103 bool is_point_inside_block (
104104 const BRep& brep, const Block3D& block, const Point3D& point )
105105 {
106- std::array< Vector3D, 12 > directions = { { Vector3D{ { 0 ., 0 ., 1 . } },
107- Vector3D{ { 0.1 , 0 ., 1 . } }, Vector3D{ { 0.3 , 0 ., 1 . } },
108- Vector3D{ { 0.5 , 0 ., 1 . } }, Vector3D{ { 0 ., 1 ., 0 . } },
109- Vector3D{ { 0.1 , 1 ., 0 . } }, Vector3D{ { 0.3 , 1 ., 0 . } },
110- Vector3D{ { 0.5 , 1 ., 0 . } }, Vector3D{ { 1 ., 0 ., 0 . } },
111- Vector3D{ { 1 ., 0 ., 0.1 } }, Vector3D{ { 1 ., 0 ., 0.3 } },
112- Vector3D{ { 1 ., 0 ., 0.5 } } } };
106+ std::array< Vector3D, 12 > directions = { { geode::Vector3D{
107+ { 1 ., 0 ., 0 . } },
108+ geode::Vector3D{ { 1 ., 0 ., 0.1 } },
109+ geode::Vector3D{ { 1 ., 0 ., 0.3 } },
110+ geode::Vector3D{ { 1 ., 0 ., 0.5 } },
111+ geode::Vector3D{ { 0 ., 1 ., 0 . } },
112+ geode::Vector3D{ { 0.1 , 1 ., 0 . } },
113+ geode::Vector3D{ { 0.3 , 1 ., 0 . } },
114+ geode::Vector3D{ { 0.5 , 1 ., 0 . } },
115+ geode::Vector3D{ { 0 ., 0 ., 1 . } },
116+ geode::Vector3D{ { 0 ., 0.1 , 1 . } },
117+ geode::Vector3D{ { 0 ., 0.3 , 1 . } },
118+ geode::Vector3D{ { 0 ., 0.5 , 1 . } } } };
113119
114120 for ( const auto & direction : directions )
115121 {
0 commit comments