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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user