Skip to content

Commit

Permalink
TutorialApps: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 22, 2024
1 parent e36db47 commit ca0d00a
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ public void simpleInitApp() {
= new PhysicsRigidBody(discShape, PhysicsBody.massForStatic);
physicsSpace.addCollisionObject(disc);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void simpleInitApp() {
ground.setDebugMaterial(greenMaterial);
ground.setDebugMeshNormals(MeshNormals.Facet);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// PhysicsTickListener methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void simpleInitApp() {
statBall.setDebugMeshNormals(MeshNormals.Sphere);
statBall.setDebugMeshResolution(DebugShapeFactory.highResolution);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// private methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ public void simpleInitApp() {
cube[cubeIndex].applyImpulse(impulse, offset);
}

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void simpleInitApp() {
bottomBody.setPhysicsLocation(new Vector3f(0f, -2f, 0f));
physicsSpace.addCollisionObject(bottomBody);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// PhysicsTickListener methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void simpleInitApp() {
// Add lighting.
addLighting(rootNode);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void simpleInitApp() {
physicsSpace.addCollisionObject(kineBall);
kineBall.setKinematic(true);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// PhysicsTickListener methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ public void simpleInitApp() {
Vector3f upDirection = Vector3f.UNIT_Y;
cam.lookAt(targetLocation, upDirection);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ public void simpleInitApp() {
Vector3f upDirection = Vector3f.UNIT_Y;
cam.lookAt(targetLocation, upDirection);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void simpleInitApp() {
rootNode.addControl(axes);
axes.setEnabled(true);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// PhysicsTickListener methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void simpleInitApp() {
// Add lighting.
addLighting(rootNode);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// private methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ public void simpleInitApp() {
// Set ball #2 on a collision course with ball #1.
ball2.applyCentralImpulse(new Vector3f(-25f, 0f, 0f));

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ public void simpleInitApp() {
dynaBall.setPhysicsLocation(new Vector3f(0f, 4f, 0f));
statBall.setPhysicsLocation(new Vector3f(0.1f, 0f, 0f));

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
}

0 comments on commit ca0d00a

Please sign in to comment.