Update to cope with the new JME world order.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3702 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-09-15 20:52:15 +00:00
parent f79a52142c
commit f75d7d6f31
@@ -28,6 +28,7 @@ import com.jme.math.Vector3f;
import com.jme.renderer.ColorRGBA;
import com.jme.scene.shape.Box;
import com.jme.util.LoggingSystem;
import com.jme.util.geom.BufferUtils;
import com.threerings.util.Name;
@@ -67,7 +68,7 @@ public class JabberApp extends JmeApp
for (int i = 0; i < 24; i++) {
colors[i] = ColorRGBA.randomColor();
}
t.setColors(colors);
t.setColorBuffer(BufferUtils.createFloatBuffer(colors));
_root.attachChild(t);
_root.updateRenderState();