From 043d93a6ae761d91c1fd87d9797f942d55d648fe Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 25 Oct 2023 20:26:57 +0200 Subject: [PATCH] changed colour of collision edge debug display --- src/rigidbody.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rigidbody.c b/src/rigidbody.c index 86817a2..cfc1b64 100644 --- a/src/rigidbody.c +++ b/src/rigidbody.c @@ -90,7 +90,7 @@ void _internal_debug_draw_collision_edge(RigidBody* self, Contact* contact) { Vector a = camera_world_to_pixel_point(&g_camera, left); Vector b = camera_world_to_pixel_point(&g_camera, right); Vector n = transform_direction(&g_camera.transform, contact->hit.normal); - SDL_SetRenderDrawColor(g_renderer, 255, 255, 255, 255); + SDL_SetRenderDrawColor(g_renderer, 255, 2, 255, 255); SDL_RenderDrawLine(g_renderer, a.x, a.y, b.x, b.y); a = camera_world_to_pixel_point(&g_camera, point); b = vaddf(a, vmulff(n, 100.f));