Skip to content

Commit 745c1db

Browse files
committed
deprecate jbullet bridge apis
1 parent e356496 commit 745c1db

71 files changed

Lines changed: 988 additions & 912 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

jme3-jbullet/src/main/java/com/jme3/bullet/BulletAppState.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
*
5050
* @author normenhansen
5151
*/
52+
@Deprecated
5253
public class BulletAppState
5354
extends AbstractAppState
5455
implements PhysicsTickListener {

jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
* <p>PhysicsSpace - The central jbullet-jme physics space</p>
102102
* @author normenhansen
103103
*/
104+
@Deprecated
104105
public class PhysicsSpace {
105106

106107
/**

jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsTickListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
*
3939
* @author normenhansen
4040
*/
41+
@Deprecated
4142
public interface PhysicsTickListener {
4243

4344
/**

jme3-jbullet/src/main/java/com/jme3/bullet/animation/BoneLink.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
*
5959
* Based on KinematicRagdollControl by Normen Hansen and Rémy Bouquet (Nehon).
6060
*/
61+
@Deprecated
6162
public class BoneLink extends PhysicsLink {
6263
// *************************************************************************
6364
// constants and loggers

jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacLinks.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
*
7373
* Based on KinematicRagdollControl by Normen Hansen and Rémy Bouquet (Nehon).
7474
*/
75+
@Deprecated
7576
public class DacLinks
7677
extends DacConfiguration
7778
implements PhysicsTickListener {

jme3-jbullet/src/main/java/com/jme3/bullet/animation/DynamicAnimControl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
*
7171
* Based on KinematicRagdollControl by Normen Hansen and Rémy Bouquet (Nehon).
7272
*/
73+
@Deprecated
7374
public class DynamicAnimControl
7475
extends DacLinks
7576
implements PhysicsCollisionListener {
Lines changed: 51 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,51 @@
1-
/*
2-
* Copyright (c) 2018-2019 jMonkeyEngine
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are
7-
* met:
8-
*
9-
* * Redistributions of source code must retain the above copyright
10-
* notice, this list of conditions and the following disclaimer.
11-
*
12-
* * Redistributions in binary form must reproduce the above copyright
13-
* notice, this list of conditions and the following disclaimer in the
14-
* documentation and/or other materials provided with the distribution.
15-
*
16-
* * Neither the name of 'jMonkeyEngine' nor the names of its contributors
17-
* may be used to endorse or promote products derived from this software
18-
* without specific prior written permission.
19-
*
20-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21-
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22-
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23-
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25-
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26-
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27-
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28-
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29-
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31-
*/
32-
package com.jme3.bullet.animation;
33-
34-
/**
35-
* Enumerate submodes for a link in kinematic mode.
36-
* <p>
37-
* This class is shared between JBullet and Native Bullet.
38-
*
39-
* @author Stephen Gold sgold@sonic.net
40-
*/
41-
public enum KinematicSubmode {
42-
/**
43-
* driven by animation (if any)
44-
*/
45-
Animated,
46-
/**
47-
* frozen in the transform it had when blending started
48-
*/
49-
Frozen;
50-
}
1+
/*
2+
* Copyright (c) 2018-2019 jMonkeyEngine
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are
7+
* met:
8+
*
9+
* * Redistributions of source code must retain the above copyright
10+
* notice, this list of conditions and the following disclaimer.
11+
*
12+
* * Redistributions in binary form must reproduce the above copyright
13+
* notice, this list of conditions and the following disclaimer in the
14+
* documentation and/or other materials provided with the distribution.
15+
*
16+
* * Neither the name of 'jMonkeyEngine' nor the names of its contributors
17+
* may be used to endorse or promote products derived from this software
18+
* without specific prior written permission.
19+
*
20+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22+
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28+
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31+
*/
32+
package com.jme3.bullet.animation;
33+
34+
/**
35+
* Enumerate submodes for a link in kinematic mode.
36+
* <p>
37+
* This class is shared between JBullet and Native Bullet.
38+
*
39+
* @author Stephen Gold sgold@sonic.net
40+
*/
41+
@Deprecated
42+
public enum KinematicSubmode {
43+
/**
44+
* driven by animation (if any)
45+
*/
46+
Animated,
47+
/**
48+
* frozen in the transform it had when blending started
49+
*/
50+
Frozen;
51+
}

0 commit comments

Comments
 (0)