From 33a661cb32b16a533be3763ebc777ef6285f3beb Mon Sep 17 00:00:00 2001 From: Irlan Date: Mon, 13 May 2019 19:12:46 -0300 Subject: [PATCH] Update comments --- include/bounce/softbody/softbody_node.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/bounce/softbody/softbody_node.h b/include/bounce/softbody/softbody_node.h index 5ddfba1..81f7e28 100644 --- a/include/bounce/softbody/softbody_node.h +++ b/include/bounce/softbody/softbody_node.h @@ -93,33 +93,33 @@ public: // Get the vertex index. u32 GetVertex() const; - // Set the particle position. - // If the particle is dynamic changing the position directly might lead + // Set the node position. + // If the node is dynamic changing the position directly might lead // to physically incorrect simulation behaviour. void SetPosition(const b3Vec3& position); - // Get the particle position. + // Get the node position. const b3Vec3& GetPosition() const; - // Set the particle velocity. + // Set the node velocity. void SetVelocity(const b3Vec3& velocity); - // Get the particle velocity. + // Get the node velocity. const b3Vec3& GetVelocity() const; - // Get the particle mass. + // Get the node mass. float32 GetMass() const; - // Set the particle radius. + // Set the node radius. void SetRadius(float32 radius); - // Get the particle radius. + // Get the node radius. float32 GetRadius() const; - // Set the particle coefficient of friction. + // Set the node coefficient of friction. void SetFriction(float32 friction); - // Get the particle coefficient of friction. + // Get the node coefficient of friction. float32 GetFriction() const; // Apply a force.