aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
index 509479cc9..43d174916 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
@@ -209,19 +209,31 @@ public abstract class Shape {
System.arraycopy(pivot, 0, rotPivot, 0, 3);
}
- /** Set scale factor to given scale. */
+ /**
+ * Set scale factor to given scale.
+ * @see #scale(float, float, float)
+ * @see #getScale()
+ */
public final void setScale(final float sx, final float sy, final float sz) {
scale[0] = sx;
scale[1] = sy;
scale[2] = sz;
}
- /** Multiply current scale factor by given scale. */
+ /**
+ * Multiply current scale factor by given scale.
+ * @see #setScale(float, float, float)
+ * @see #getScale()
+ */
public final void scale(final float sx, final float sy, final float sz) {
scale[0] *= sx;
scale[1] *= sy;
scale[2] *= sz;
}
- /** Returns float[3] scale factors. */
+ /**
+ * Returns float[3] scale factors.
+ * @see #setScale(float, float, float)
+ * @see #scale(float, float, float)
+ */
public final float[] getScale() { return scale; }
/** Returns X-axis scale factor. */
public final float getScaleX() { return scale[0]; }