Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 22, 2024
1 parent 5c33cce commit 803bd2d
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ private void configureCamera() {
* Configure physics during startup.
*/
private void configurePhysics() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
final PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ private void configureCamera() {
* Configure physics during startup.
*/
private void configurePhysics() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
bulletAppState = new BulletAppState();
float axisLength = maxArrowLength();
bulletAppState.setDebugAxisLength(axisLength);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
PhysicsSpace physicsSpace = configurePhysics();

// Create a material and CollisionShape for balls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
PhysicsSpace physicsSpace = configurePhysics();

// Create a material and a mesh for balls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
bulletAppState.setDebugEnabled(true); // for debug visualization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
bulletAppState.setDebugEnabled(true); // for debug visualization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
PhysicsSpace physicsSpace = configurePhysics();

// Create a material and a mesh for balls.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void main(String[] arguments) {
*/
@Override
public void simpleInitApp() {
// Set up Bullet physics and create a physics space.
// Attach a BulletAppState and create a physics space:
BulletAppState bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
PhysicsSpace physicsSpace = bulletAppState.getPhysicsSpace();
Expand Down

0 comments on commit 803bd2d

Please sign in to comment.