raylib-bindings 0.7.1-x86_64-linux → 0.7.2-x86_64-linux

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: 5877e7e9c94a15c1ede5ff467074bb41be64b9ea758c0f9f3c9017841e718a20
4
- data.tar.gz: f0d1290d07eae43b14a7f555b2741787abb76230b7a2881002ee58f4de1a2581
3
+ metadata.gz: 38cc0ea7a262f3c441dd68b0b97b5108ff40d449aee2d61ae5fdbeedec0c8bce
4
+ data.tar.gz: 8d6535bcc200a2a75007a3cf86235f413c9268ab412695e59901de20a563cd54
5
5
  SHA512:
6
- metadata.gz: 4ba9bb8b505204031b38f3d74b3cf7faf4a5ff677c02fe131e0be1e174003baeeb6a633258754885d1175f3b6f17142e26f2639ce9e232042ad0e9c7c89c1a75
7
- data.tar.gz: be827f05f11ccf6092694efe1238f364786814869da7a5a09a81149b0b10a87e7807bc23ab7ae228eda0737a1efdda9a75c8de0fd94f2ee2d35d46a27d573e09
6
+ metadata.gz: 58ce2de358fd9a65c91987af2bb8434893bb5634a77d915c9d5ced024c30d301721ace507eea12dcd3dce806b631ac93fdf7044d9d922982cbb707be9e39d5ae
7
+ data.tar.gz: 180c52c0b33676523b562311d1845847eb52b982bab335672e1b45e754ce1a18b1bebb27fc9bff2423525ba7a93ad346fc8f68305ab40340fbd8996f3bb10877
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
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: x86_64-linux
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