Updates
This commit is contained in:
parent
2ccda376bb
commit
d53c1a3ae6
@ -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)
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)
BIN
src_assets/ice_cream_truck.blend1
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user