Fixed JDK5 compilation issue and added SpriteShootout textures.

This commit is contained in:
Ioannis Tsakpinis 2011-04-08 03:41:19 +00:00
parent 924f20efd6
commit 807c61ad59
3 changed files with 1 additions and 1 deletions

BIN
res/ball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
res/ball_sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -479,7 +479,7 @@ public final class SpriteShootout2P {
final FloatBuffer depths = BufferUtils.createFloatBuffer(count * 2);
final float depthStep = 1.9f / count;
float depth = Math.nextAfter(1.0f, Float.MIN_VALUE);
float depth = Float.parseFloat("0x1.fffffep-1");
// Front-to-back
for ( int i = 0; i < count; i++ ) {
depths.put(depth);