v0.4.2: performance improvements to visibility checking

This commit is contained in:
Evan Debenham
2016-08-30 01:14:12 -04:00
parent 926b02ce65
commit 6627ba4736
2 changed files with 14 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ public class Gizmo {
if (camera != null) {
return camera;
} else if (parent != null) {
return parent.camera();
return this.camera = parent.camera();
} else {
return null;
}