mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2025-12-05 23:51:59 +01:00
Fixed JDK5 compilation issue and added SpriteShootout textures.
This commit is contained in:
parent
924f20efd6
commit
807c61ad59
BIN
res/ball.png
Normal file
BIN
res/ball.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
res/ball_sm.png
Normal file
BIN
res/ball_sm.png
Normal file
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 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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue