mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update MAX_FIX value
This commit is contained in:
parent
b7cd116e62
commit
f4e55f9938
1 changed files with 4 additions and 2 deletions
|
|
@ -13,11 +13,13 @@
|
|||
#include <glm/gtx/norm.hpp>
|
||||
|
||||
inline constexpr float E = 0.03f;
|
||||
inline constexpr float MAX_FIX = 0.15f;
|
||||
inline constexpr float MAX_FIX = 0.05f;
|
||||
|
||||
static debug::Logger logger("physics-solver");
|
||||
|
||||
PhysicsSolver::PhysicsSolver(const GlobalChunks& chunks, glm::vec3 gravity) : chunks(chunks), gravity(std::move(gravity)) {}
|
||||
PhysicsSolver::PhysicsSolver(const GlobalChunks& chunks, glm::vec3 gravity)
|
||||
: chunks(chunks), gravity(std::move(gravity)) {
|
||||
}
|
||||
|
||||
static float calc_step_height(
|
||||
const GlobalChunks& chunks,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue