Index
All Classes and Interfaces|All Packages
S
- setAcceleration(float) - Static method in class com.boole.jgmp.physics.JGMPGravity
-
Static function to set the acceleration value for all the objects in this Gravity Field.
- shortestDistanceFrom(JGMPRay2) - Method in class com.boole.jgmp.math.shapes.JGMPRay2
-
Calculates the shortest distance between the current line segment and a different given line segment.
- shortestDistanceFrom(JGMPVector2) - Method in class com.boole.jgmp.math.shapes.JGMPRay2
-
Calculates the shortest distance between the current line segment and a different given point.
- sign() - Method in class com.boole.jgmp.math.vectors.JGMPVector2
-
Returns a
JGMPVector2
with the signs of the elements - sign(float) - Static method in class com.boole.jgmp.math.helpers.JGMPFloatH
-
Sign of the given float
- size - Variable in class com.boole.jgmp.math.shapes.JGMPRect
-
Size of the
JGMPRect
inJGMPVector2
- start - Variable in class com.boole.jgmp.math.shapes.JGMPRay2
-
JGMPVector2
indicating the starting point of theJGMPRay2
- stopVelocity() - Method in class com.boole.jgmp.physics.JGMPVelocity
-
Resets the
JGMPVelocity
to 0 and sets the object in rest. - stopXVelocity() - Method in class com.boole.jgmp.physics.JGMPVelocity
-
Cancels out any velocity in the x direction.
- stopYVelocity() - Method in class com.boole.jgmp.physics.JGMPVelocity
-
Cancels out any velocity in the y direction.
- subtract(JGMPVector2) - Method in class com.boole.jgmp.math.vectors.JGMPVector2
-
Vector subtraction for 2
JGMPVector2
- subtractScalar(float) - Method in class com.boole.jgmp.math.vectors.JGMPVector2
-
Scalar subtraction for a
JGMPVector2
and a float value
All Classes and Interfaces|All Packages