From ff77516d964d758e33218e03483484d2ef1adef9 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Tue, 22 Jun 2021 20:43:35 -0400 Subject: Sort of handling comments in the transpiler --- 2d/rigidbody/rigidbody_1.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2d/rigidbody') diff --git a/2d/rigidbody/rigidbody_1.html b/2d/rigidbody/rigidbody_1.html index bf703d2..ec7e028 100644 --- a/2d/rigidbody/rigidbody_1.html +++ b/2d/rigidbody/rigidbody_1.html @@ -172,7 +172,7 @@ const int32 NUM_IMPULSES = 4; void update(float32 deltaTimeSeconds) { applyGravity(deltaTimeSeconds); - // Add up all of the forces acting at this moment + // Add up all of the forces acting at this moment Vector2 force; for (int32 idx = 0; idx < numImpulses; idx++) { Impulse& i = activeImpulses[idx]; @@ -192,7 +192,7 @@ const int32 NUM_IMPULSES = 4; velocity += (acceleration * impulseDtSeconds); position += (velocity * deltaTimeSeconds); - // Cleanup any impulses that have expired in the mean time + // Cleanup any impulses that have expired in the mean time for (int32 idx = 0; idx < numImpulses; idx++) { if (activeImpulses[idx].isDead) { for (int j = idx + 1; j < numImpulses; j++) { -- cgit v1.2.1