Gamma correction corrected....
This commit is contained in:
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user