Skip to content

Commit 1767320

Browse files
committed
constexpr flaot in boundarytolerance
1 parent 5cf8b44 commit 1767320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/world/mpr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ namespace mpr
159159
};
160160

161161
//templates
162-
const float boundarytolerance = 1e-3f;
162+
constexpr float boundarytolerance = 1e-3f;
163163

164164
template<class T>
165165
bool collide(const T &p1, const EntOBB &p2)

0 commit comments

Comments
 (0)