Fixed JDK5 compilation issue and added SpriteShootout textures.
This commit is contained in:
parent
924f20efd6
commit
807c61ad59
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
|
@ -479,7 +479,7 @@ public final class SpriteShootout2P {
|
||||||
|
|
||||||
final FloatBuffer depths = BufferUtils.createFloatBuffer(count * 2);
|
final FloatBuffer depths = BufferUtils.createFloatBuffer(count * 2);
|
||||||
final float depthStep = 1.9f / count;
|
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
|
// Front-to-back
|
||||||
for ( int i = 0; i < count; i++ ) {
|
for ( int i = 0; i < count; i++ ) {
|
||||||
depths.put(depth);
|
depths.put(depth);
|
||||||
|
|
Loading…
Reference in New Issue