raylib-bindings 0.7.1-arm64-darwin → 0.7.2-arm64-darwin

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e38e194542c4a2db51710b2cbe08a80d76162a7a763b1de0b4dc35356d30d5e
4
- data.tar.gz: c981c27e571060395792d071c94254de43f748f0eafbe59b0916072d1ba054d5
3
+ metadata.gz: c952347fa4eddea48f2949d5f81f9ec027bc198cb0f92b712f72e762ba168886
4
+ data.tar.gz: 2628d9a2420e4aefa44a8822988403f0d6f10fda24ba13bb885249bf5ce029c3
5
5
  SHA512:
6
- metadata.gz: 1d2bd6ce220fee96ee25179d25a435e5b08be42ad1dec84e43b93639f6ffc1355da39430d396ba5be9d2dda8d7b388509d7f23ac9f99080d5f9274c9534f1258
7
- data.tar.gz: 4fc006cf081ef7103ed29636d0ab03dfbcf219ae762f3a5304143c58668420983e572890d6dfe3c122312530a07a3b7860f4f9678c1c0f41211d32746debbd6a
6
+ metadata.gz: 93f32922568c033b3ca7a37cb209b87c2552e760f36a43d798dbb9bebb5fde0d344356117234dcf4dc7b81fbee3077eb0290f74e9562192e9a15305194fd218c
7
+ data.tar.gz: 53b7716c2f545d71ccb2ec953cd661aa4b659093928c25079c41a5f8fa747a5fd29c7f67e88d0a0217f126ac5729fe3ec6c6ac5c920febeee635475ae0942a0f
data/ChangeLog CHANGED
@@ -1,3 +1,20 @@
1
+ 2024-04-06 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/414229bcf93816daaa253a82cd54fbd7b18e6449 ) and raygui ( https://github.com/raysan5/raygui/commit/0a9a9f897a16968444e10fea4fbac33ba1d5d640 )
4
+
5
+ 2024-03-31 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * examples/textures_bunnymark_plain.rb : Renamed from textures_bunnymark.rb
8
+ * examples/textures_bunnymark_optimized.rb : Added
9
+
10
+ 2024-03-24 vaiorabbit <http://twitter.com/vaiorabbit>
11
+
12
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/35252fceefdeb7b0920d9c1513efb4b5c05633dc ) and raygui ( https://github.com/raysan5/raygui/commit/9060e3bf33795dad4fdb4f60585b07901ffa5dee )
13
+
14
+ 2024-03-10 vaiorabbit <http://twitter.com/vaiorabbit>
15
+
16
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/f072497551d9f03b5fbded289f8af021c103a8c0) and raygui ( https://github.com/raysan5/raygui/commit/623bc61f29839d451061252e1cc93edb013c2f8c )
17
+
1
18
  2024-03-02 vaiorabbit <http://twitter.com/vaiorabbit>
2
19
 
3
20
  * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/25caf14be8d0284aceaa0de28753b3012e71b7bb )
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  # Yet another raylib wrapper for Ruby #
4
4
 
5
5
  * Created : 2021-10-17
6
- * Last modified : 2024-03-02
6
+ * Last modified : 2024-04-06
7
7
 
8
8
  Provides Ruby bindings for raylib-related libraries including:
9
9
 
Binary file
Binary file
data/lib/raygui_main.rb CHANGED
@@ -374,9 +374,9 @@ module Raylib
374
374
  ICON_FOLDER = 217
375
375
  ICON_FILE = 218
376
376
  ICON_SAND_TIMER = 219
377
- ICON_220 = 220
378
- ICON_221 = 221
379
- ICON_222 = 222
377
+ ICON_WARNING = 220
378
+ ICON_HELP_BOX = 221
379
+ ICON_INFO_BOX = 222
380
380
  ICON_223 = 223
381
381
  ICON_224 = 224
382
382
  ICON_225 = 225
data/lib/raylib_main.rb CHANGED
@@ -193,9 +193,9 @@ module Raylib
193
193
  GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3 # Gamepad left DPAD down button
194
194
  GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4 # Gamepad left DPAD left button
195
195
  GAMEPAD_BUTTON_RIGHT_FACE_UP = 5 # Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)
196
- GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 # Gamepad right button right (i.e. PS3: Square, Xbox: X)
196
+ GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 # Gamepad right button right (i.e. PS3: Circle, Xbox: B)
197
197
  GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7 # Gamepad right button down (i.e. PS3: Cross, Xbox: A)
198
- GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8 # Gamepad right button left (i.e. PS3: Circle, Xbox: B)
198
+ GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8 # Gamepad right button left (i.e. PS3: Square, Xbox: X)
199
199
  GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9 # Gamepad top/back trigger left (first), it could be a trailing button
200
200
  GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10 # Gamepad top/back trigger left (second), it could be a trailing button
201
201
  GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 # Gamepad top/back trigger right (one), it could be a trailing button
@@ -1607,21 +1607,21 @@ module Raylib
1607
1607
  # @return [void]
1608
1608
  [:UnloadShader, :UnloadShader, [Shader.by_value], :void],
1609
1609
 
1610
- # @!method GetMouseRay(mousePosition, camera)
1611
- # GetMouseRay : Get a ray trace from mouse position
1612
- # @param mousePosition [Vector2]
1610
+ # @!method GetScreenToWorldRay(position, camera)
1611
+ # GetScreenToWorldRay : Get a ray trace from screen position (i.e mouse)
1612
+ # @param position [Vector2]
1613
1613
  # @param camera [Camera]
1614
1614
  # @return [Ray]
1615
- [:GetMouseRay, :GetMouseRay, [Vector2.by_value, Camera.by_value], Ray.by_value],
1615
+ [:GetScreenToWorldRay, :GetScreenToWorldRay, [Vector2.by_value, Camera.by_value], Ray.by_value],
1616
1616
 
1617
- # @!method GetViewRay(mousePosition, camera, width, height)
1618
- # GetViewRay : Get a ray trace from mouse position in a viewport
1619
- # @param mousePosition [Vector2]
1617
+ # @!method GetScreenToWorldRayEx(position, camera, width, height)
1618
+ # GetScreenToWorldRayEx : Get a ray trace from screen position (i.e mouse) in a viewport
1619
+ # @param position [Vector2]
1620
1620
  # @param camera [Camera]
1621
- # @param width [float]
1622
- # @param height [float]
1621
+ # @param width [int]
1622
+ # @param height [int]
1623
1623
  # @return [Ray]
1624
- [:GetViewRay, :GetViewRay, [Vector2.by_value, Camera.by_value, :float, :float], Ray.by_value],
1624
+ [:GetScreenToWorldRayEx, :GetScreenToWorldRayEx, [Vector2.by_value, Camera.by_value, :int, :int], Ray.by_value],
1625
1625
 
1626
1626
  # @!method GetWorldToScreen(position, camera)
1627
1627
  # GetWorldToScreen : Get the screen space position for a 3d world space position
@@ -3656,7 +3656,7 @@ module Raylib
3656
3656
  [:Fade, :Fade, [Color.by_value, :float], Color.by_value],
3657
3657
 
3658
3658
  # @!method ColorToInt(color)
3659
- # ColorToInt : Get hexadecimal value for a Color
3659
+ # ColorToInt : Get hexadecimal value for a Color (0xRRGGBBAA)
3660
3660
  # @param color [Color]
3661
3661
  # @return [int]
3662
3662
  [:ColorToInt, :ColorToInt, [Color.by_value], :int],
@@ -5115,7 +5115,7 @@ module Raylib
5115
5115
  [:SetAudioStreamCallback, :SetAudioStreamCallback, [AudioStream.by_value, :AudioCallback], :void],
5116
5116
 
5117
5117
  # @!method AttachAudioStreamProcessor(stream, processor)
5118
- # AttachAudioStreamProcessor : Attach audio stream processor to stream, receives the samples as <float>s
5118
+ # AttachAudioStreamProcessor : Attach audio stream processor to stream, receives the samples as 'float'
5119
5119
  # @param stream [AudioStream]
5120
5120
  # @param processor [AudioCallback]
5121
5121
  # @return [void]
@@ -5129,7 +5129,7 @@ module Raylib
5129
5129
  [:DetachAudioStreamProcessor, :DetachAudioStreamProcessor, [AudioStream.by_value, :AudioCallback], :void],
5130
5130
 
5131
5131
  # @!method AttachAudioMixedProcessor(processor)
5132
- # AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s
5132
+ # AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'
5133
5133
  # @param processor [AudioCallback]
5134
5134
  # @return [void]
5135
5135
  [:AttachAudioMixedProcessor, :AttachAudioMixedProcessor, [:AudioCallback], :void],
data/lib/rlgl.rb CHANGED
@@ -612,7 +612,7 @@ module Raylib
612
612
  [:rlBlitFramebuffer, :rlBlitFramebuffer, [:int, :int, :int, :int, :int, :int, :int, :int, :int], :void],
613
613
 
614
614
  # @!method rlBindFramebuffer(target, framebuffer)
615
- # rlBindFramebuffer : Bind framebuffer (FBO)
615
+ # rlBindFramebuffer : Bind framebuffer (FBO)
616
616
  # @param target [unsigned int]
617
617
  # @param framebuffer [unsigned int]
618
618
  # @return [void]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raylib-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi