pbox2d 0.9.1-java → 1.0.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -5
- data/CHANGELOG.md +4 -0
- data/README.md +6 -6
- data/docs/.gitignore +6 -0
- data/docs/_classes/pbox2d.md +375 -0
- data/docs/_classes/world_builder.md +7 -0
- data/docs/_config.yml +32 -0
- data/docs/_includes/footer.html +55 -0
- data/docs/_includes/head.html +18 -0
- data/docs/_includes/header.html +27 -0
- data/docs/_includes/menu.html +8 -0
- data/docs/_includes/navigation.html +24 -0
- data/docs/_layouts/default.html +20 -0
- data/docs/_layouts/page.html +14 -0
- data/docs/_layouts/post.html +15 -0
- data/docs/_methods/init_options.md +28 -0
- data/docs/_methods/processing_to_world.md +29 -0
- data/docs/_methods/scale_to_processing.md +24 -0
- data/docs/_methods/scale_to_world.md +29 -0
- data/docs/_methods/step_options.md +25 -0
- data/docs/_methods/world_to_processing.md +30 -0
- data/docs/_modules/pb.md +25 -0
- data/docs/_modules/world_builder.md +26 -0
- data/docs/_posts/2016-10-14-welcome.md +183 -0
- data/docs/_sass/_base.scss +204 -0
- data/docs/_sass/_layout.scss +236 -0
- data/docs/_sass/_syntax-highlighting.scss +67 -0
- data/docs/about.md +20 -0
- data/docs/classes.html +9 -0
- data/docs/css/main.scss +52 -0
- data/docs/favicon.ico +0 -0
- data/docs/index.html +38 -0
- data/docs/methods.html +9 -0
- data/docs/modules.html +12 -0
- data/lib/pbox2d/version.rb +1 -1
- data/pbox2d.gemspec +4 -7
- data/pom.rb +8 -6
- data/pom.xml +3 -3
- data/src/org/jbox2d/collision/AABB.java +2 -2
- data/src/org/jbox2d/collision/Manifold.java +2 -2
- data/src/org/jbox2d/collision/ManifoldPoint.java +2 -2
- data/src/org/jbox2d/collision/shapes/MassData.java +1 -1
- data/src/org/jbox2d/common/Mat22.java +6 -13
- data/src/org/jbox2d/common/Mat33.java +253 -233
- data/src/org/jbox2d/common/MathUtils.java +5 -5
- data/src/org/jbox2d/common/Rot.java +16 -19
- data/src/org/jbox2d/common/Transform.java +4 -4
- data/src/org/jbox2d/common/Vec2.java +6 -12
- data/src/org/jbox2d/common/Vec3.java +147 -142
- data/src/org/jbox2d/dynamics/joints/DistanceJoint.java +4 -2
- metadata +62 -25
@@ -93,8 +93,8 @@ public class DistanceJoint extends Joint {
|
|
93
93
|
|
94
94
|
protected DistanceJoint(IWorldPool argWorld, final DistanceJointDef def) {
|
95
95
|
super(argWorld, def);
|
96
|
-
m_localAnchorA = def.localAnchorA
|
97
|
-
m_localAnchorB = def.localAnchorB
|
96
|
+
m_localAnchorA = new Vec2(def.localAnchorA);
|
97
|
+
m_localAnchorB = new Vec2(def.localAnchorB);
|
98
98
|
m_length = def.length;
|
99
99
|
m_impulse = 0.0f;
|
100
100
|
m_frequencyHz = def.frequencyHz;
|
@@ -147,6 +147,7 @@ public class DistanceJoint extends Joint {
|
|
147
147
|
|
148
148
|
/**
|
149
149
|
* Get the reaction force given the inverse time step. Unit is N.
|
150
|
+
* @param argOut
|
150
151
|
*/
|
151
152
|
@Override
|
152
153
|
public void getReactionForce(float inv_dt, Vec2 argOut) {
|
@@ -157,6 +158,7 @@ public class DistanceJoint extends Joint {
|
|
157
158
|
/**
|
158
159
|
* Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a
|
159
160
|
* distance joint.
|
161
|
+
* @return
|
160
162
|
*/
|
161
163
|
@Override
|
162
164
|
public float getReactionTorque(float inv_dt) {
|
metadata
CHANGED
@@ -1,60 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pbox2d
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Martin Prout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: jruby_art
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.2'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.2'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
19
|
+
version: '12.0'
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
26
|
+
version: '12.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
33
|
+
version: '5.10'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
55
|
-
description: "
|
56
|
-
|
57
|
-
|
40
|
+
version: '5.10'
|
41
|
+
description: '"An exemplar for making java libraries available as a gem, for use in
|
42
|
+
JRubyArt /propane. Features a polyglot maven build, and also demonstrates how to
|
43
|
+
create an interface so avoid needing explicit calls to java reflection."
|
44
|
+
|
45
|
+
'
|
58
46
|
email:
|
59
47
|
- mamba2928@yahoo.co.uk
|
60
48
|
executables: []
|
@@ -74,6 +62,55 @@ files:
|
|
74
62
|
- LICENSE.md
|
75
63
|
- README.md
|
76
64
|
- Rakefile
|
65
|
+
- docs/.gitignore
|
66
|
+
- docs/_classes/pbox2d.md
|
67
|
+
- docs/_classes/world_builder.md
|
68
|
+
- docs/_config.yml
|
69
|
+
- docs/_includes/footer.html
|
70
|
+
- docs/_includes/head.html
|
71
|
+
- docs/_includes/header.html
|
72
|
+
- docs/_includes/menu.html
|
73
|
+
- docs/_includes/navigation.html
|
74
|
+
- docs/_layouts/default.html
|
75
|
+
- docs/_layouts/page.html
|
76
|
+
- docs/_layouts/post.html
|
77
|
+
- docs/_methods/init_options.md
|
78
|
+
- docs/_methods/processing_to_world.md
|
79
|
+
- docs/_methods/scale_to_processing.md
|
80
|
+
- docs/_methods/scale_to_world.md
|
81
|
+
- docs/_methods/step_options.md
|
82
|
+
- docs/_methods/world_to_processing.md
|
83
|
+
- docs/_modules/pb.md
|
84
|
+
- docs/_modules/world_builder.md
|
85
|
+
- docs/_posts/2016-10-14-welcome.md
|
86
|
+
- docs/_sass/_base.scss
|
87
|
+
- docs/_sass/_layout.scss
|
88
|
+
- docs/_sass/_syntax-highlighting.scss
|
89
|
+
- docs/_site/about/index.html
|
90
|
+
- docs/_site/classes.html
|
91
|
+
- docs/_site/classes/pbox2d/index.html
|
92
|
+
- docs/_site/classes/world_builder/index.html
|
93
|
+
- docs/_site/css/main.css
|
94
|
+
- docs/_site/favicon.ico
|
95
|
+
- docs/_site/index.html
|
96
|
+
- docs/_site/jruby_art/update/2016/10/14/welcome.html
|
97
|
+
- docs/_site/methods.html
|
98
|
+
- docs/_site/methods/init_options/index.html
|
99
|
+
- docs/_site/methods/processing_to_world/index.html
|
100
|
+
- docs/_site/methods/scale_to_processing/index.html
|
101
|
+
- docs/_site/methods/scale_to_world/index.html
|
102
|
+
- docs/_site/methods/step_options/index.html
|
103
|
+
- docs/_site/methods/world_to_processing/index.html
|
104
|
+
- docs/_site/modules.html
|
105
|
+
- docs/_site/modules/world_builder/index.html
|
106
|
+
- docs/_site/sitemap.xml
|
107
|
+
- docs/about.md
|
108
|
+
- docs/classes.html
|
109
|
+
- docs/css/main.scss
|
110
|
+
- docs/favicon.ico
|
111
|
+
- docs/index.html
|
112
|
+
- docs/methods.html
|
113
|
+
- docs/modules.html
|
77
114
|
- examples/README.md
|
78
115
|
- examples/Rakefile
|
79
116
|
- examples/blob/blobby.rb
|
@@ -266,7 +303,7 @@ files:
|
|
266
303
|
- src/processing/box2d/Box2DProcessing.java
|
267
304
|
- src/processing/box2d/Options.java
|
268
305
|
- src/processing/box2d/Step.java
|
269
|
-
homepage: https://
|
306
|
+
homepage: https://ruby-processing.github.io/jbox2d
|
270
307
|
licenses:
|
271
308
|
- BSD-2-Clause
|
272
309
|
metadata: {}
|
@@ -286,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
323
|
version: '0'
|
287
324
|
requirements: []
|
288
325
|
rubyforge_project:
|
289
|
-
rubygems_version: 2.6.
|
326
|
+
rubygems_version: 2.6.11
|
290
327
|
signing_key:
|
291
328
|
specification_version: 4
|
292
329
|
summary: jbox2d wrapped in a gem for JRubyArt
|