Brought things up to date with the latest JME code.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4162 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-05-31 02:21:04 +00:00
parent e981a9eed9
commit 69c20acd43
12 changed files with 233 additions and 120 deletions
@@ -75,7 +75,7 @@ public class JabberApp extends JmeApp
for (int i = 0; i < 24; i++) {
colors[i] = ColorRGBA.randomColor();
}
t.setColorBuffer(BufferUtils.createFloatBuffer(colors));
t.setColorBuffer(0, BufferUtils.createFloatBuffer(colors));
_root.attachChild(t);
_root.updateRenderState();
@@ -90,7 +90,7 @@ public class JabberApp extends JmeApp
_camera.update();
// speed up key input
_input.setKeySpeed(100f);
_input.setActionSpeed(100f);
return true;
}