vkmEngine
1.0.0
A C++ game engine ·
vkmengine.com
Loading...
Searching...
No Matches
tolerance.h
1
#pragma once
2
3
namespace
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
13
inline
constexpr
float
DEGENERATE_SQ = 1e-6f;
14
20
inline
constexpr
float
CONTACT_TOLERANCE = 1e-4f;
21
27
inline
constexpr
float
AXIS_TOLERANCE = 1e-4f;
28
34
inline
constexpr
float
MIN_HALF_EXTENT = 1e-3f;
35
41
inline
constexpr
float
FRICTION_DEADZONE = 1e-6f;
42
43
}
// namespace Vkm::Engine::Physics
system
physics
tolerance.h
Generated by
1.14.0