Skip to content

Commit 0d07d47

Browse files
Link images
1 parent 197b9fa commit 0d07d47

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

jbox2d-library/src/main/java/de/pirckheimer_gymnasium/jbox2d/dynamics/joints/DistanceJoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
* These points imply the length of the distance constraint.
5050
* </p>
5151
*
52+
* <p><img src="https://github.com/engine-pi/jbox2d/blob/main/misc/images/joints/distance_joint.svg" alt="distance joint"></p>
53+
*
5254
* <p>
5355
* Here is an example of a distance joint definition. In this case we decide to
5456
* allow the bodies to collide.

jbox2d-library/src/main/java/de/pirckheimer_gymnasium/jbox2d/dynamics/joints/GearJoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
* a prismatic joint, then the ratio will have units of length or units of
5858
* 1/length.
5959
*
60+
* <p><img src="https://github.com/engine-pi/jbox2d/blob/main/misc/images/joints/gear_joint.gif" alt="gear joint"></p>
61+
*
6062
* @warning The revolute and prismatic joints must be attached to fixed bodies
6163
* (which must be body1 on those joints).
6264
* @warning You have to manually destroy the gear joint if joint1 or joint2 is

jbox2d-library/src/main/java/de/pirckheimer_gymnasium/jbox2d/dynamics/joints/PrismaticJoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@
102102
* joint limit to restrict the range of motion and a joint motor to drive the
103103
* motion or to model joint friction.
104104
*
105+
* <p><img src="https://github.com/engine-pi/jbox2d/blob/main/misc/images/joints/prismatic_joint.svg" alt="prismatic joint"></p>
106+
*
105107
* @author Daniel Murphy
106108
*/
107109
public class PrismaticJoint extends Joint

jbox2d-library/src/main/java/de/pirckheimer_gymnasium/jbox2d/dynamics/joints/PulleyJoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
* should also cover the anchor points with static shapes to prevent one side
4040
* from going to zero length.
4141
*
42+
* <p><img src="https://github.com/engine-pi/jbox2d/blob/main/misc/images/joints/pulley_joint.gif" alt="pulley joint"></p>
43+
*
4244
* @author Daniel Murphy
4345
*/
4446
public class PulleyJoint extends Joint

jbox2d-library/src/main/java/de/pirckheimer_gymnasium/jbox2d/dynamics/joints/RevoluteJoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
* relative rotation about the shared point. A maximum motor torque is provided
5454
* so that infinite forces are not generated.
5555
*
56+
* <p><img src="https://github.com/engine-pi/jbox2d/blob/main/misc/images/joints/revolute_joint.svg" alt="revolute joint"></p>
57+
*
5658
* @author Daniel Murphy
5759
*/
5860
public class RevoluteJoint extends Joint

jbox2d-library/src/main/java/de/pirckheimer_gymnasium/jbox2d/dynamics/joints/WheelJoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
* to restrict the range of motion and a joint motor to drive the rotation or to
5151
* model rotational friction. This joint is designed for vehicle suspensions.
5252
*
53+
* <p><img src="https://github.com/engine-pi/jbox2d/blob/main/misc/images/joints/wheel_joint.svg" alt="wheel joint"></p>
54+
*
5355
* @author Daniel Murphy
5456
*/
5557
public class WheelJoint extends Joint

0 commit comments

Comments
 (0)