summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/renderscript/Short2.java
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/java/android/renderscript/Short2.java')
-rw-r--r--graphics/java/android/renderscript/Short2.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/java/android/renderscript/Short2.java b/graphics/java/android/renderscript/Short2.java
index 7094edd..617f1f5 100644
--- a/graphics/java/android/renderscript/Short2.java
+++ b/graphics/java/android/renderscript/Short2.java
@@ -28,6 +28,11 @@ public class Short2 {
public Short2() {
}
+ public Short2(short initX, short initY) {
+ x = initX;
+ y = initY;
+ }
+
public short x;
public short y;
}