From c9195f997f3e797f03ab90464e4158717198a167 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:40:29 +0100 Subject: style: Apply clang-format to all source files --- src/3d/physics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/3d/physics.cc') diff --git a/src/3d/physics.cc b/src/3d/physics.cc index 229eb40..2aa101d 100644 --- a/src/3d/physics.cc +++ b/src/3d/physics.cc @@ -54,7 +54,7 @@ float PhysicsSystem::sample_sdf(const Object3D& obj, vec3 world_p) { float sx = vec3(model.m[0], model.m[1], model.m[2]).len(); float sy = vec3(model.m[4], model.m[5], model.m[6]).len(); float sz = vec3(model.m[8], model.m[9], model.m[10]).len(); - + float s = std::min(sx, std::min(sy, sz)); if (obj.type == ObjectType::PLANE) { s = sy; // For plane with local normal (0,1,0), scale is sy -- cgit v1.2.3