Gamma correction corrected....

This commit is contained in:
2025-08-05 22:58:21 +02:00
parent 17c3469602
commit 0736eb77b2
5 changed files with 61 additions and 9 deletions

View File

@@ -64,6 +64,8 @@ render_trigger_lines :: () {
#if PHYSICS {
for e: engine.current_scene.entities {
if e.physics.type == .BOX {
if !e.physics.render_collider continue;
color := Color.{0,0,1,1};//e.collider.aabb_color;
aabb := AABB.{-e.physics.box.half_extent, e.physics.box.half_extent};