This commit is contained in:
sergeypdev 2025-06-28 18:40:09 +04:00
parent 2ccda376bb
commit d53c1a3ae6
3 changed files with 4 additions and 5 deletions

View File

@ -20,7 +20,6 @@ import "core:hash"
import "core:log"
import "core:math"
import "core:math/linalg"
import "core:mem"
import "core:slice"
import "game:physics"
import "game:physics/bvh"
@ -703,7 +702,7 @@ update_world :: proc(world: ^World, dt: f32, config: World_Update_Config) {
if mesh.triangleCount > 0 {
physics.immediate_level_geom(
&world.physics_scene,
hash.fnv32a(cast([]byte)(fmt.tprintf("level mesh {}", i))),
hash.fnv32a(transmute([]byte)(fmt.tprintf("level mesh {}", i))),
{
rotation = linalg.QUATERNIONF32_IDENTITY,
vertices = (cast([^]rl.Vector3)mesh.vertices)[:mesh.vertexCount],

BIN
src_assets/ice_cream_truck.blend (Stored with Git LFS)

Binary file not shown.

BIN
src_assets/ice_cream_truck.blend1 (Stored with Git LFS)

Binary file not shown.