vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
tolerance.h
1#pragma once
2
3namespace Vkm::Engine::Physics {
4
5// Not `glm::epsilon`, which asks whether a float can be divided by: these ask whether geometry is too
6// small to mean anything in the world. Units are stated.
7
13inline constexpr float DEGENERATE_SQ = 1e-6f;
14
20inline constexpr float CONTACT_TOLERANCE = 1e-4f;
21
27inline constexpr float AXIS_TOLERANCE = 1e-4f;
28
34inline constexpr float MIN_HALF_EXTENT = 1e-3f;
35
41inline constexpr float FRICTION_DEADZONE = 1e-6f;
42
43} // namespace Vkm::Engine::Physics