Fixed fast_tilemap and texture_atlas_repeat examples.

This commit is contained in:
jussi
2025-09-18 15:30:12 +03:00
parent 3f27d9037d
commit 77ba40f97e
6 changed files with 61 additions and 28 deletions

View File

@@ -28,8 +28,8 @@ function RL.draw()
RL.ClearBackground( RL.RAYWHITE )
RL.BeginShaderMode( shader )
RL.DrawTexturePro( atlas, { 0, 0, 32, 32 }, { 0, 0, 64, 64 }, { 0.0 }, 0.0, RL.WHITE )
RL.DrawTexturePro( atlas, { 32, 0, 32, 32 }, { 0, 64, 128, 64 }, { 0.0 }, 0.0, RL.WHITE )
RL.DrawTexturePro( atlas, { 0, 0, 32, 32 }, { 0, 0, 64, 64 }, { 0.0, 0.0 }, 0.0, RL.WHITE )
RL.DrawTexturePro( atlas, { 32, 0, 32, 32 }, { 0, 64, 128, 64 }, { 0.0, 0.0 }, 0.0, RL.WHITE )
RL.DrawTriangle( { 32, 200 }, { 128, 400 }, { 320, 240 }, RL.WHITE )
RL.EndShaderMode()
end