summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSteve <steveb9@u.washington.edu>2011-03-06 01:04:30 +0000
committerSteve <steveb9@u.washington.edu>2011-03-06 01:04:30 +0000
commite21875c280c9e5b6ca5ddfb631bd5faf27b121d4 (patch)
tree3eb8bc2f6c99321650f848e21d6c0504db56f64b /src/common
parentc96d5df01b431742f88fc6b6618fc9f1f9fea01a (diff)
added CO line 421 as per Alden's suggestion
Fresh new attempt at passing objects in Tick.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CollidableObject.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/CollidableObject.java b/src/common/CollidableObject.java
index 5ec49f3..4c5f013 100644
--- a/src/common/CollidableObject.java
+++ b/src/common/CollidableObject.java
@@ -448,6 +448,7 @@ public abstract class CollidableObject implements Serializable {
trueGeometry.getNormal(i, normals[i]);
}
out.writeObject(normals);
+ indices = new int[trueGeometry.getValidIndexCount()];
trueGeometry.getNormalIndices(0, indices);
out.writeObject(indices);
}