From c5eabe3b9c7c567f2ce2dcf193a3742e8c5673fa Mon Sep 17 00:00:00 2001 From: Irlan Robson Date: Sat, 24 Feb 2018 15:38:24 -0300 Subject: [PATCH] add a comment --- include/bounce/dynamics/world.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/bounce/dynamics/world.h b/include/bounce/dynamics/world.h index 54226e9..a74710b 100644 --- a/include/bounce/dynamics/world.h +++ b/include/bounce/dynamics/world.h @@ -61,8 +61,10 @@ public: // Enable warm-starting for the constraint solvers. This improves stability significantly. void SetWarmStart(bool flag); - - // Set the world gravity force. + + // Set the acceleration due to the gravity force between this world and each dynamic + // body in the world. + // The acceleration has units of m/s^2. void SetGravity(const b3Vec3& gravity); // Create a new rigid body.