protect 52 no-arg constructors in the jme3-bullet/jme3-jbullet libraries (#1229)

This commit is contained in:
Stephen Gold 2019-12-02 21:01:11 -08:00 committed by GitHub
parent 9d2d393fc3
commit 75001d8abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
52 changed files with 100 additions and 100 deletions

View File

@ -99,7 +99,7 @@ public class BoneLink extends PhysicsLink {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public BoneLink() {
protected BoneLink() {
}
/**

View File

@ -130,7 +130,7 @@ abstract public class PhysicsLink
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsLink() {
protected PhysicsLink() {
}
/**

View File

@ -107,7 +107,7 @@ public class TorsoLink extends PhysicsLink {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public TorsoLink() {
protected TorsoLink() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -65,7 +65,7 @@ public class ChildCollisionShape implements Savable {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public ChildCollisionShape() {
protected ChildCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -136,7 +136,7 @@ public class BetterCharacterControl extends AbstractPhysicsControl implements Ph
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public BetterCharacterControl() {
protected BetterCharacterControl() {
jumpForce = new Vector3f();
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -86,7 +86,7 @@ public class GhostControl extends PhysicsGhostObject implements PhysicsControl,
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public GhostControl() {
protected GhostControl() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -89,7 +89,7 @@ public class RigidBodyControl extends PhysicsRigidBody implements PhysicsControl
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public RigidBodyControl() {
protected RigidBodyControl() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -80,7 +80,7 @@ public class VehicleControl extends PhysicsVehicle implements PhysicsControl, Jm
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public VehicleControl() {
protected VehicleControl() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -57,7 +57,7 @@ public class BoxCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public BoxCollisionShape() {
protected BoxCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -64,7 +64,7 @@ public class CapsuleCollisionShape extends CollisionShape{
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public CapsuleCollisionShape() {
protected CapsuleCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -65,7 +65,7 @@ public class ConeCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public ConeCollisionShape() {
protected ConeCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -62,7 +62,7 @@ public class CylinderCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public CylinderCollisionShape() {
protected CylinderCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,7 +68,7 @@ public class GImpactCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public GImpactCollisionShape() {
protected GImpactCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -93,7 +93,7 @@ public class HeightfieldCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public HeightfieldCollisionShape() {
protected HeightfieldCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -56,7 +56,7 @@ public class HullCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public HullCollisionShape() {
protected HullCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -75,7 +75,7 @@ public class MeshCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public MeshCollisionShape() {
protected MeshCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -56,7 +56,7 @@ public class PlaneCollisionShape extends CollisionShape{
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PlaneCollisionShape() {
protected PlaneCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -57,7 +57,7 @@ public class SimplexCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SimplexCollisionShape() {
protected SimplexCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -57,7 +57,7 @@ public class SphereCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SphereCollisionShape() {
protected SphereCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -64,7 +64,7 @@ public class ConeJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public ConeJoint() {
protected ConeJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -80,7 +80,7 @@ public class HingeJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public HingeJoint() {
protected HingeJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -76,7 +76,7 @@ public abstract class PhysicsJoint implements Savable {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsJoint() {
protected PhysicsJoint() {
}
/**
@ -208,8 +208,8 @@ public abstract class PhysicsJoint implements Savable {
*/
public void read(JmeImporter im) throws IOException {
InputCapsule capsule = im.getCapsule(this);
this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", new PhysicsRigidBody()));
this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", new PhysicsRigidBody());
this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", null));
this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", null);
this.pivotA = (Vector3f) capsule.readSavable("pivotA", new Vector3f());
this.pivotB = (Vector3f) capsule.readSavable("pivotB", new Vector3f());
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -57,7 +57,7 @@ public class Point2PointJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public Point2PointJoint() {
protected Point2PointJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -99,7 +99,7 @@ public class SixDofJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SixDofJoint() {
protected SixDofJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -60,7 +60,7 @@ public class SliderJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SliderJoint() {
protected SliderJoint() {
}
/**

View File

@ -71,7 +71,7 @@ public class PhysicsCharacter extends PhysicsCollisionObject {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsCharacter() {
protected PhysicsCharacter() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,7 +68,7 @@ public class PhysicsGhostObject extends PhysicsCollisionObject {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsGhostObject() {
protected PhysicsGhostObject() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -81,7 +81,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsRigidBody() {
protected PhysicsRigidBody() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -90,7 +90,7 @@ public class PhysicsVehicle extends PhysicsRigidBody {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsVehicle() {
protected PhysicsVehicle() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -136,7 +136,7 @@ public class VehicleWheel implements Savable {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public VehicleWheel() {
protected VehicleWheel() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -48,7 +48,7 @@ public class BoxCollisionShape extends CollisionShape {
private Vector3f halfExtents;
public BoxCollisionShape() {
protected BoxCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -49,7 +49,7 @@ public class CapsuleCollisionShape extends CollisionShape{
protected float radius,height;
protected int axis;
public CapsuleCollisionShape() {
protected CapsuleCollisionShape() {
}
/**

View File

@ -56,7 +56,7 @@ public abstract class CollisionShape implements Savable {
*/
protected float margin = defaultMargin;
public CollisionShape() {
protected CollisionShape() {
}
/**

View File

@ -56,7 +56,7 @@ public class ConeCollisionShape extends CollisionShape {
/**
* Serialization only, do not use.
*/
public ConeCollisionShape() {
protected ConeCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -53,7 +53,7 @@ public class CylinderCollisionShape extends CollisionShape {
protected Vector3f halfExtents;
protected int axis;
public CylinderCollisionShape() {
protected CylinderCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -55,7 +55,7 @@ public class GImpactCollisionShape extends CollisionShape{
protected ByteBuffer triangleIndexBase, vertexBase;
protected IndexedMesh bulletMesh;
public GImpactCollisionShape() {
protected GImpactCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -65,7 +65,7 @@ public class HeightfieldCollisionShape extends CollisionShape {
protected int upAxis;
protected boolean flipQuadEdges;
public HeightfieldCollisionShape() {
protected HeightfieldCollisionShape() {
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -48,7 +48,7 @@ public class HullCollisionShape extends CollisionShape {
private float[] points;
public HullCollisionShape() {
protected HullCollisionShape() {
}
public HullCollisionShape(Mesh mesh) {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -54,7 +54,7 @@ public class MeshCollisionShape extends CollisionShape {
protected ByteBuffer triangleIndexBase, vertexBase;
protected IndexedMesh bulletMesh;
public MeshCollisionShape() {
protected MeshCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -47,7 +47,7 @@ import java.io.IOException;
public class PlaneCollisionShape extends CollisionShape{
private Plane plane;
public PlaneCollisionShape() {
protected PlaneCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -47,7 +47,7 @@ public class SphereCollisionShape extends CollisionShape {
protected float radius;
public SphereCollisionShape() {
protected SphereCollisionShape() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -58,7 +58,7 @@ public class ConeJoint extends PhysicsJoint {
protected float twistSpan = 1e30f;
protected boolean angularOnly = false;
public ConeJoint() {
protected ConeJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -58,7 +58,7 @@ public class HingeJoint extends PhysicsJoint {
protected float relaxationFactor = 1.0f;
protected float limitSoftness = 0.9f;
public HingeJoint() {
protected HingeJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -50,7 +50,7 @@ public abstract class PhysicsJoint implements Savable {
protected Vector3f pivotB;
protected boolean collisionBetweenLinkedBodys = true;
public PhysicsJoint() {
protected PhysicsJoint() {
}
/**
@ -127,8 +127,8 @@ public abstract class PhysicsJoint implements Savable {
public void read(JmeImporter im) throws IOException {
InputCapsule capsule = im.getCapsule(this);
this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", new PhysicsRigidBody()));
this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", new PhysicsRigidBody());
this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", null));
this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", null);
this.pivotA = (Vector3f) capsule.readSavable("pivotA", new Vector3f());
this.pivotB = (Vector3f) capsule.readSavable("pivotB", new Vector3f());
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -50,7 +50,7 @@ import java.io.IOException;
*/
public class Point2PointJoint extends PhysicsJoint {
public Point2PointJoint() {
protected Point2PointJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,7 +68,7 @@ public class SixDofJoint extends PhysicsJoint {
private Vector3f linearUpperLimit = new Vector3f(Vector3f.POSITIVE_INFINITY);
private Vector3f linearLowerLimit = new Vector3f(Vector3f.NEGATIVE_INFINITY);
public SixDofJoint() {
protected SixDofJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -52,7 +52,7 @@ public class SliderJoint extends PhysicsJoint {
protected Matrix3f rotA, rotB;
protected boolean useLinearReferenceFrameA;
public SliderJoint() {
protected SliderJoint() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,7 +68,7 @@ public class PhysicsCharacter extends PhysicsCollisionObject {
private com.jme3.math.Transform physicsLocation = new com.jme3.math.Transform();
private javax.vecmath.Vector3f tempVec = new javax.vecmath.Vector3f();
public PhysicsCharacter() {
protected PhysicsCharacter() {
}
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,7 +68,7 @@ public class PhysicsGhostObject extends PhysicsCollisionObject {
protected javax.vecmath.Quat4f tempRot = new javax.vecmath.Quat4f();
private List<PhysicsCollisionObject> overlappingObjects = new LinkedList<PhysicsCollisionObject>();
public PhysicsGhostObject() {
protected PhysicsGhostObject() {
}
public PhysicsGhostObject(CollisionShape shape) {

View File

@ -72,7 +72,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject {
protected javax.vecmath.Vector3f localInertia = new javax.vecmath.Vector3f();
protected ArrayList<PhysicsJoint> joints = new ArrayList<PhysicsJoint>();
public PhysicsRigidBody() {
protected PhysicsRigidBody() {
}
/**

View File

@ -67,7 +67,7 @@ public class PhysicsVehicle extends PhysicsRigidBody {
protected ArrayList<VehicleWheel> wheels = new ArrayList<VehicleWheel>();
protected PhysicsSpace physicsSpace;
public PhysicsVehicle() {
protected PhysicsVehicle() {
}
public PhysicsVehicle(CollisionShape shape) {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -67,7 +67,7 @@ public class VehicleWheel implements Savable {
protected final Quaternion tmp_inverseWorldRotation = new Quaternion();
private boolean applyLocal = false;
public VehicleWheel() {
protected VehicleWheel() {
}
public VehicleWheel(Spatial spat, Vector3f location, Vector3f direction, Vector3f axle,