aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-core/src/main
diff options
context:
space:
mode:
authorRenanse <[email protected]>2013-03-25 21:25:39 -0500
committerRenanse <[email protected]>2013-03-25 21:25:39 -0500
commitb8a3a40ad0449af0d673a9828f6a9650d46361b7 (patch)
tree1efbd03df020cc1dd819dc32ff85d1740badef26 /ardor3d-core/src/main
parent0e0f993b6a7b0902c5f659d14e39e04b596e0239 (diff)
Fix to primitive construction
Diffstat (limited to 'ardor3d-core/src/main')
-rw-r--r--ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java2
1 files changed, 1 insertions, 1 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 3c7b79a..ba685e3 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java
+++ b/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java
@@ -145,7 +145,7 @@ public class BoundingSphere extends BoundingVolume {
for (int i = start; i < end; i++) {
store = data.getPrimitiveVertices(indices[i], section, store);
for (int j = 0; j < vertsPerPrimitive; j++) {
- vertList[count++] = Vector3.fetchTempInstance().set(store[0]);
+ vertList[count++] = Vector3.fetchTempInstance().set(store[j]);
}
}