aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java b/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java
index ba685e3..f3a0ea3 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java
+++ b/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java
@@ -225,12 +225,14 @@ public class BoundingSphere extends BoundingVolume {
}
}
+ // FIXME move this method into an helper class
public static void populateFromBuffer(final Vector3 vector, final float[] buf, final int index) {
vector.setX(buf[index * 3]);
vector.setY(buf[index * 3 + 1]);
vector.setZ(buf[index * 3 + 2]);
}
+ // FIXME move this method into an helper class
public static void setInBuffer(final ReadOnlyVector3 vector, final float[] buf, final int index) {
if (buf == null) {
return;