Skip to content

Commit

Permalink
javadoc and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 22, 2024
1 parent 4a4d57a commit 96b4a9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
32 changes: 0 additions & 32 deletions apps/src/main/java/jme3test/bullet/TestBrickTower.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,38 +31,6 @@
*/
package jme3test.bullet;

/*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'jMonkeyEngine' nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

import com.jme3.app.SimpleApplication;
import com.jme3.asset.TextureKey;
import com.jme3.bullet.BulletAppState;
Expand Down
3 changes: 1 addition & 2 deletions apps/src/main/java/jme3utilities/tutorial/HelloRbc.java
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 Expand Up @@ -128,7 +127,7 @@ public void simpleInitApp() {
// Add lighting.
addLighting(rootNode);

// Minie's BulletAppState simulates the dynamics...
// BulletAppState drives the physics simulation...
}
// *************************************************************************
// private methods
Expand Down
3 changes: 3 additions & 0 deletions library/src/main/java/com/jme3/bullet/PhysicsSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ public class PhysicsSpace extends CollisionSpace {
*/
final private Map<Long, PhysicsRigidBody> rigidMap
= new ConcurrentHashMap<>(64);
/**
* underlying jolt-java object
*/
private final PhysicsSystem physicsSystem;
private final TempAllocator tempAllocator;
/**
Expand Down

0 comments on commit 96b4a9a

Please sign in to comment.