diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-12-20 03:13:34 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-12-21 14:52:06 +0100 |
commit | d9cd2f741dd3c134aa86e52495cf5b7643ce196c (patch) | |
tree | 7864c7d467501abf7cd10ceb7aa8cafa67ddd556 /src/Physics/Explodinator.cpp | |
parent | Remove unused Temporary namespace (diff) | |
download | cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.tar cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.tar.gz cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.tar.bz2 cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.tar.lz cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.tar.xz cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.tar.zst cuberite-d9cd2f741dd3c134aa86e52495cf5b7643ce196c.zip |
Diffstat (limited to 'src/Physics/Explodinator.cpp')
-rw-r--r-- | src/Physics/Explodinator.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Physics/Explodinator.cpp b/src/Physics/Explodinator.cpp index 59da02119..e12b9bd60 100644 --- a/src/Physics/Explodinator.cpp +++ b/src/Physics/Explodinator.cpp @@ -16,11 +16,11 @@ namespace Explodinator { - const auto StepUnit = 0.3f; - const auto KnockbackFactor = 25U; - const auto StepAttenuation = 0.225f; - const auto TraceCubeSideLength = 16U; - const auto BoundingBoxStepUnit = 0.5; + static const auto StepUnit = 0.3f; + static const auto KnockbackFactor = 25U; + static const auto StepAttenuation = 0.225f; + static const auto TraceCubeSideLength = 16U; + static const auto BoundingBoxStepUnit = 0.5; /** Converts an absolute floating-point Position into a Chunk-relative one. */ static Vector3f AbsoluteToRelative(const Vector3f a_Position, const cChunkCoords a_ChunkPosition) |