raylib-bindings 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab2eac41d705abcb4ab700d993187691dc44bb256e7d8f1c4ac0251388a57971
4
- data.tar.gz: 19bbe638c42d259ca31d16b764207a133f0046a907ef23815cc0bfd8037fbb66
3
+ metadata.gz: 680568eee11c3b111692524b4d1a8296ae3021ced477d4b608b19c37b2c7c0c3
4
+ data.tar.gz: b74153457239a0be8f551571afdf9df7cbe770197962406092d0ad8e4a69733f
5
5
  SHA512:
6
- metadata.gz: 4a58846f6aab40a329d98270da386fc3c8648dd3e0fc3660784fc49b042b64e6cc83872e7c4779534dfb82cc2100c4a5390eb3e3ec28d13d8c6165e312caab90
7
- data.tar.gz: 99520353c754e3008a3915b7894f9388bd3c500241866c67f3b4c6a311b2d21116006bd9fb75c4482c91cc9568a7f2730bbdd586c9c4e6578766bd1b091f617b
6
+ metadata.gz: 5e61ba8d96e25bc216c4a57863b2e7a8a32cb49241cdda6974f96a42b23463ac2f499af601705257d2282a8b0c3efaf6f371ed500af31cfe95908f1334ddbad9
7
+ data.tar.gz: 3ca0378d881f69fc451131fb305a624284835b81fdf723c73f91b841604a0eee3e67aef41d42dde99195b7d4262a2374fc3750c2cf03ce165ae229b8462d8d3b
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
 
data/lib/libraylib.a ADDED
Binary file
Binary file
Binary file
data/lib/libraylib.dll CHANGED
Binary file
Binary file
Binary file
data/lib/physac.dll CHANGED
Binary file
Binary file
Binary file
data/lib/raygui.dll CHANGED
Binary file
Binary file
data/lib/raygui.x86_64.so CHANGED
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: ruby
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
@@ -40,6 +40,7 @@ files:
40
40
  - README.md
41
41
  - examples/template.rb
42
42
  - lib/config.rb
43
+ - lib/libraylib.a
43
44
  - lib/libraylib.aarch64.so
44
45
  - lib/libraylib.arm64.dylib
45
46
  - lib/libraylib.dll