raylib-bindings 0.7.6-x64-mingw → 0.7.7-x64-mingw

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: 0fe391d23e166f8f9f2aee1f7b9e59ae5a94c9302e0d9a3721b3467df0117b7f
4
- data.tar.gz: c826ab9044f17c97f929573f651d25a05724bf785977e7ee7a1206bdd2cb36b3
3
+ metadata.gz: c7bc0d21676f5721a6ecf624d990791f6c5f3301d21ee7dde0376c7b68a155df
4
+ data.tar.gz: f93bdcc11fd7f18726f07f8905529fe45249bfd1bdecb1361850693f2de4e649
5
5
  SHA512:
6
- metadata.gz: f30d8d375ef9e29c54ce35180c6b1c543cf5b40b342ebe383251ef2c4ded00ce5a2d94edcff0f28322b1a9ca41137d3f64277446e1ba17af08593e501a1f4118
7
- data.tar.gz: 970d80b4d5e0a318ffb15d823bf46a7e352ce3c7ecfed4b8365b4ca4cfdcd566a0da0b8c30077acef3cf140b15b84723a1650430edee58da804a8a0fb04f14b8
6
+ metadata.gz: 212f4bbcaa02f00511ba3646bd55dd862ff745e55cd1663710d93ef6114b2aa2691dc6affd5cc0cee6511652850c507136c23607ea54456bb19a9f5f870dfbdf
7
+ data.tar.gz: 7d572fdc3cdacb3e8a7c280b21e0ce11503ea9135c6a7a81a66e02ee3f97c09571ece6f7a38953215516b5dc4a20cbee715787abc5842c0f6e039ec758fb2649
data/ChangeLog CHANGED
@@ -1,3 +1,11 @@
1
+ 2024-09-16 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/186787e31179eec8280a429fae50b65ef58368d3 ) and raygui ( https://github.com/raysan5/raygui/commit/b5a81fb76eec3521f4cbd6c02ace0dcc7b1cc810 )
4
+
5
+ 2024-09-07 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/10b01ba7c2139b9203045bb56aa8403ca810cc6b ) and raygui ( https://github.com/raysan5/raygui/commit/6aae83894ac20b7ac8bf511f43d368f0ad409534 )
8
+
1
9
  2024-08-12 vaiorabbit <http://twitter.com/vaiorabbit>
2
10
 
3
11
  * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/418b8780533e6d7822aefcd1a1dd3cb6cca95fa5 )
data/README.md CHANGED
@@ -3,15 +3,15 @@
3
3
  # Yet another raylib wrapper for Ruby #
4
4
 
5
5
  * Created : 2021-10-17
6
- * Last modified : 2024-08-12
6
+ * Last modified : 2024-09-16
7
7
 
8
8
  Provides Ruby bindings for raylib-related libraries including:
9
9
 
10
- * [raylib](https://github.com/raysan5/raylib) version [5.5-dev]( https://github.com/raysan5/raylib/commit/418b8780533e6d7822aefcd1a1dd3cb6cca95fa5 )
10
+ * [raylib](https://github.com/raysan5/raylib) version [5.5-dev]( https://github.com/raysan5/raylib/commit/186787e31179eec8280a429fae50b65ef58368d3 )
11
11
  * raylib
12
12
  * raymath
13
13
  * rlgl
14
- * [raygui](https://github.com/raysan5/raygui) version [4.5-dev]( https://github.com/raysan5/raygui/commit/33f16596091e8147d01f948e7125db02cfae5faa )
14
+ * [raygui](https://github.com/raysan5/raygui) version [4.5-dev]( https://github.com/raysan5/raygui/commit/b5a81fb76eec3521f4cbd6c02ace0dcc7b1cc810 )
15
15
  * [Physac](https://github.com/raysan5/physac) version [1.1]( https://github.com/raysan5/physac/commit/4a8e17f263fb8e1150b3fbafc96f880c7d7a4833 )
16
16
 
17
17
  <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/bitmap_font_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/game_of_life_simple_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/lissajous_curve_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/procedural_texture_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/reversi_board_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/utf8_font_rb.png" width="125">
data/lib/config.rb CHANGED
@@ -53,6 +53,7 @@ module Raylib
53
53
  RL_DEFAULT_SHADER_ATTRIB_LOCATION_COLOR = 3
54
54
  RL_DEFAULT_SHADER_ATTRIB_LOCATION_TANGENT = 4
55
55
  RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD2 = 5
56
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_INDICES = 6
56
57
  RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION = "vertexPosition" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_POSITION
57
58
  RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD = "vertexTexCoord" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD
58
59
  RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL = "vertexNormal" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_NORMAL
data/lib/libraylib.dll CHANGED
Binary file
data/lib/physac.dll CHANGED
Binary file
data/lib/raygui.dll CHANGED
Binary file
data/lib/raygui_main.rb CHANGED
@@ -12,9 +12,9 @@ module Raylib
12
12
  # Define/Macro
13
13
 
14
14
  RAYGUI_VERSION_MAJOR = 4
15
- RAYGUI_VERSION_MINOR = 1
15
+ RAYGUI_VERSION_MINOR = 5
16
16
  RAYGUI_VERSION_PATCH = 0
17
- RAYGUI_VERSION = "4.1-dev"
17
+ RAYGUI_VERSION = "4.5-dev"
18
18
  SCROLLBAR_LEFT_SIDE = 0
19
19
  SCROLLBAR_RIGHT_SIDE = 1
20
20
 
@@ -385,7 +385,7 @@ module Raylib
385
385
  ICON_LAYERS2 = 225
386
386
  ICON_MLAYERS = 226
387
387
  ICON_MAPS = 227
388
- ICON_228 = 228
388
+ ICON_HOT = 228
389
389
  ICON_229 = 229
390
390
  ICON_230 = 230
391
391
  ICON_231 = 231
data/lib/raylib_main.rb CHANGED
@@ -1198,12 +1198,12 @@ module Raylib
1198
1198
  [:ClearWindowState, :ClearWindowState, [:uint], :void],
1199
1199
 
1200
1200
  # @!method ToggleFullscreen()
1201
- # ToggleFullscreen : Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)
1201
+ # ToggleFullscreen : Toggle window state: fullscreen/windowed [resizes monitor to match window resolution] (only PLATFORM_DESKTOP)
1202
1202
  # @return [void]
1203
1203
  [:ToggleFullscreen, :ToggleFullscreen, [], :void],
1204
1204
 
1205
1205
  # @!method ToggleBorderlessWindowed()
1206
- # ToggleBorderlessWindowed : Toggle window state: borderless windowed (only PLATFORM_DESKTOP)
1206
+ # ToggleBorderlessWindowed : Toggle window state: borderless windowed [resizes window to match monitor resolution] (only PLATFORM_DESKTOP)
1207
1207
  # @return [void]
1208
1208
  [:ToggleBorderlessWindowed, :ToggleBorderlessWindowed, [], :void],
1209
1209
 
@@ -1948,7 +1948,7 @@ module Raylib
1948
1948
  [:LoadDirectoryFiles, :LoadDirectoryFiles, [:pointer], FilePathList.by_value],
1949
1949
 
1950
1950
  # @!method LoadDirectoryFilesEx(basePath, filter, scanSubdirs)
1951
- # LoadDirectoryFilesEx : Load directory filepaths with extension filtering and recursive directory scan
1951
+ # LoadDirectoryFilesEx : Load directory filepaths with extension filtering and recursive directory scan. Use "/DIR" in the filter string to include directories in the result
1952
1952
  # @param basePath [const char *]
1953
1953
  # @param filter [const char *]
1954
1954
  # @param scanSubdirs [bool]
@@ -2452,13 +2452,13 @@ module Raylib
2452
2452
  # @return [void]
2453
2453
  [:DrawCircleSectorLines, :DrawCircleSectorLines, [Vector2.by_value, :float, :float, :float, :int, Color.by_value], :void],
2454
2454
 
2455
- # @!method DrawCircleGradient(centerX, centerY, radius, color1, color2)
2455
+ # @!method DrawCircleGradient(centerX, centerY, radius, inner, outer)
2456
2456
  # DrawCircleGradient : Draw a gradient-filled circle
2457
2457
  # @param centerX [int]
2458
2458
  # @param centerY [int]
2459
2459
  # @param radius [float]
2460
- # @param color1 [Color]
2461
- # @param color2 [Color]
2460
+ # @param inner [Color]
2461
+ # @param outer [Color]
2462
2462
  # @return [void]
2463
2463
  [:DrawCircleGradient, :DrawCircleGradient, [:int, :int, :float, Color.by_value, Color.by_value], :void],
2464
2464
 
@@ -2565,35 +2565,35 @@ module Raylib
2565
2565
  # @return [void]
2566
2566
  [:DrawRectanglePro, :DrawRectanglePro, [Rectangle.by_value, Vector2.by_value, :float, Color.by_value], :void],
2567
2567
 
2568
- # @!method DrawRectangleGradientV(posX, posY, width, height, color1, color2)
2568
+ # @!method DrawRectangleGradientV(posX, posY, width, height, top, bottom)
2569
2569
  # DrawRectangleGradientV : Draw a vertical-gradient-filled rectangle
2570
2570
  # @param posX [int]
2571
2571
  # @param posY [int]
2572
2572
  # @param width [int]
2573
2573
  # @param height [int]
2574
- # @param color1 [Color]
2575
- # @param color2 [Color]
2574
+ # @param top [Color]
2575
+ # @param bottom [Color]
2576
2576
  # @return [void]
2577
2577
  [:DrawRectangleGradientV, :DrawRectangleGradientV, [:int, :int, :int, :int, Color.by_value, Color.by_value], :void],
2578
2578
 
2579
- # @!method DrawRectangleGradientH(posX, posY, width, height, color1, color2)
2579
+ # @!method DrawRectangleGradientH(posX, posY, width, height, left, right)
2580
2580
  # DrawRectangleGradientH : Draw a horizontal-gradient-filled rectangle
2581
2581
  # @param posX [int]
2582
2582
  # @param posY [int]
2583
2583
  # @param width [int]
2584
2584
  # @param height [int]
2585
- # @param color1 [Color]
2586
- # @param color2 [Color]
2585
+ # @param left [Color]
2586
+ # @param right [Color]
2587
2587
  # @return [void]
2588
2588
  [:DrawRectangleGradientH, :DrawRectangleGradientH, [:int, :int, :int, :int, Color.by_value, Color.by_value], :void],
2589
2589
 
2590
- # @!method DrawRectangleGradientEx(rec, col1, col2, col3, col4)
2590
+ # @!method DrawRectangleGradientEx(rec, topLeft, bottomLeft, topRight, bottomRight)
2591
2591
  # DrawRectangleGradientEx : Draw a gradient-filled rectangle with custom vertex colors
2592
2592
  # @param rec [Rectangle]
2593
- # @param col1 [Color]
2594
- # @param col2 [Color]
2595
- # @param col3 [Color]
2596
- # @param col4 [Color]
2593
+ # @param topLeft [Color]
2594
+ # @param bottomLeft [Color]
2595
+ # @param topRight [Color]
2596
+ # @param bottomRight [Color]
2597
2597
  # @return [void]
2598
2598
  [:DrawRectangleGradientEx, :DrawRectangleGradientEx, [Rectangle.by_value, Color.by_value, Color.by_value, Color.by_value, Color.by_value], :void],
2599
2599
 
@@ -3814,6 +3814,14 @@ module Raylib
3814
3814
  # @return [Color]
3815
3815
  [:ColorAlphaBlend, :ColorAlphaBlend, [Color.by_value, Color.by_value, Color.by_value], Color.by_value],
3816
3816
 
3817
+ # @!method ColorLerp(color1, color2, factor)
3818
+ # ColorLerp : Get color lerp interpolation between two colors, factor [0.0f..1.0f]
3819
+ # @param color1 [Color]
3820
+ # @param color2 [Color]
3821
+ # @param factor [float]
3822
+ # @return [Color]
3823
+ [:ColorLerp, :ColorLerp, [Color.by_value, Color.by_value, :float], Color.by_value],
3824
+
3817
3825
  # @!method GetColor(hexValue)
3818
3826
  # GetColor : Get Color structure from hexadecimal value
3819
3827
  # @param hexValue [unsigned int]
@@ -3855,7 +3863,7 @@ module Raylib
3855
3863
  [:LoadFont, :LoadFont, [:pointer], Font.by_value],
3856
3864
 
3857
3865
  # @!method LoadFontEx(fileName, fontSize, codepoints, codepointCount)
3858
- # LoadFontEx : Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont
3866
+ # LoadFontEx : Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height
3859
3867
  # @param fileName [const char *]
3860
3868
  # @param fontSize [int]
3861
3869
  # @param codepoints [int *]
@@ -4484,6 +4492,26 @@ module Raylib
4484
4492
  # @return [void]
4485
4493
  [:DrawModelWiresEx, :DrawModelWiresEx, [Model.by_value, Vector3.by_value, Vector3.by_value, :float, Vector3.by_value, Color.by_value], :void],
4486
4494
 
4495
+ # @!method DrawModelPoints(model, position, scale, tint)
4496
+ # DrawModelPoints : Draw a model as points
4497
+ # @param model [Model]
4498
+ # @param position [Vector3]
4499
+ # @param scale [float]
4500
+ # @param tint [Color]
4501
+ # @return [void]
4502
+ [:DrawModelPoints, :DrawModelPoints, [Model.by_value, Vector3.by_value, :float, Color.by_value], :void],
4503
+
4504
+ # @!method DrawModelPointsEx(model, position, rotationAxis, rotationAngle, scale, tint)
4505
+ # DrawModelPointsEx : Draw a model as points with extended parameters
4506
+ # @param model [Model]
4507
+ # @param position [Vector3]
4508
+ # @param rotationAxis [Vector3]
4509
+ # @param rotationAngle [float]
4510
+ # @param scale [Vector3]
4511
+ # @param tint [Color]
4512
+ # @return [void]
4513
+ [:DrawModelPointsEx, :DrawModelPointsEx, [Model.by_value, Vector3.by_value, Vector3.by_value, :float, Vector3.by_value, Color.by_value], :void],
4514
+
4487
4515
  # @!method DrawBoundingBox(box, color)
4488
4516
  # DrawBoundingBox : Draw bounding box (wires)
4489
4517
  # @param box [BoundingBox]
data/lib/rlgl.rb CHANGED
@@ -180,15 +180,19 @@ module Raylib
180
180
 
181
181
  # enum rlShaderUniformDataType
182
182
  # Shader uniform data type
183
- RL_SHADER_UNIFORM_FLOAT = 0 # Shader uniform type: float
184
- RL_SHADER_UNIFORM_VEC2 = 1 # Shader uniform type: vec2 (2 float)
185
- RL_SHADER_UNIFORM_VEC3 = 2 # Shader uniform type: vec3 (3 float)
186
- RL_SHADER_UNIFORM_VEC4 = 3 # Shader uniform type: vec4 (4 float)
187
- RL_SHADER_UNIFORM_INT = 4 # Shader uniform type: int
188
- RL_SHADER_UNIFORM_IVEC2 = 5 # Shader uniform type: ivec2 (2 int)
189
- RL_SHADER_UNIFORM_IVEC3 = 6 # Shader uniform type: ivec3 (3 int)
190
- RL_SHADER_UNIFORM_IVEC4 = 7 # Shader uniform type: ivec4 (4 int)
191
- RL_SHADER_UNIFORM_SAMPLER2D = 8 # Shader uniform type: sampler2d
183
+ RL_SHADER_UNIFORM_FLOAT = 0 # Shader uniform type: float
184
+ RL_SHADER_UNIFORM_VEC2 = 1 # Shader uniform type: vec2 (2 float)
185
+ RL_SHADER_UNIFORM_VEC3 = 2 # Shader uniform type: vec3 (3 float)
186
+ RL_SHADER_UNIFORM_VEC4 = 3 # Shader uniform type: vec4 (4 float)
187
+ RL_SHADER_UNIFORM_INT = 4 # Shader uniform type: int
188
+ RL_SHADER_UNIFORM_IVEC2 = 5 # Shader uniform type: ivec2 (2 int)
189
+ RL_SHADER_UNIFORM_IVEC3 = 6 # Shader uniform type: ivec3 (3 int)
190
+ RL_SHADER_UNIFORM_IVEC4 = 7 # Shader uniform type: ivec4 (4 int)
191
+ RL_SHADER_UNIFORM_UINT = 8 # Shader uniform type: unsigned int
192
+ RL_SHADER_UNIFORM_UIVEC2 = 9 # Shader uniform type: uivec2 (2 unsigned int)
193
+ RL_SHADER_UNIFORM_UIVEC3 = 10 # Shader uniform type: uivec3 (3 unsigned int)
194
+ RL_SHADER_UNIFORM_UIVEC4 = 11 # Shader uniform type: uivec4 (4 unsigned int)
195
+ RL_SHADER_UNIFORM_SAMPLER2D = 12 # Shader uniform type: sampler2d
192
196
 
193
197
  # enum rlShaderAttributeDataType
194
198
  # Shader attribute data types
@@ -723,7 +727,7 @@ module Raylib
723
727
  [:rlEnablePointMode, :rlEnablePointMode, [], :void],
724
728
 
725
729
  # @!method rlDisableWireMode()
726
- # rlDisableWireMode : Disable wire mode ( and point ) maybe rename
730
+ # rlDisableWireMode : Disable wire (and point) mode
727
731
  # @return [void]
728
732
  [:rlDisableWireMode, :rlDisableWireMode, [], :void],
729
733
 
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.6
4
+ version: 0.7.7
5
5
  platform: x64-mingw
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-12 00:00:00.000000000 Z
11
+ date: 2024-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.5.15
74
+ rubygems_version: 3.5.18
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Ruby bindings for raylib, raygui and Physac