From 3d2428af8e8d9d49b4ade52d4806a7dae4cf1ab8 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 7 Nov 2024 20:03:14 +0100 Subject: merge #25 + nitpicking --- src/example/physics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/example/physics.cpp') diff --git a/src/example/physics.cpp b/src/example/physics.cpp index a7e94f6..848f857 100644 --- a/src/example/physics.cpp +++ b/src/example/physics.cpp @@ -11,7 +11,7 @@ using namespace std; int main(int argc, char * argv[]) { GameObject * game_object; game_object = new GameObject(0, "Name", "Tag", Vector2{0, 0}, 0, 0); - game_object->add_component(Rigidbody::RigidbodyData{ + game_object->add_component(Rigidbody::Data{ .mass = 1, .gravity_scale = 1, .body_type = Rigidbody::BodyType::DYNAMIC, -- cgit v1.2.3