raylib-bindings 0.8.3 → 0.8.4
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 +4 -4
- data/ChangeLog +4 -0
- data/README.md +3 -3
- data/lib/libraylib.aarch64.so +0 -0
- data/lib/libraylib.arm64.dylib +0 -0
- data/lib/libraylib.dll +0 -0
- data/lib/libraylib.x86_64.dylib +0 -0
- data/lib/libraylib.x86_64.so +0 -0
- data/lib/physac.dll +0 -0
- data/lib/raygui.dll +0 -0
- data/lib/raylib_main.rb +59 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d93834b2f1bc07c4dc5606fceb2447dd11a852515329c55afe9f06126ac59e7e
|
|
4
|
+
data.tar.gz: f4b27261c7b5f501e81a4a00cfe259056943f33e9e2c02116f12529c2274af91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ce25fcae3bdde1677d8b2aff55b2458a97d33a4fca790dcbea14b27708de2b55a243de2991bf757f6cecbf825c3001f9126da4e2405f19db0215caf8b7b5507
|
|
7
|
+
data.tar.gz: e42d7946517e076a321ec78a3d3a8a4ad5a2313dbd26b547f1669d7743ae5f8bdabdf57065602c66a6a0ae5e8a9b2426b496f7ad818ff465bd9b18f781d251b8
|
data/ChangeLog
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
2026-09-05 vaiorabbit <http://twitter.com/vaiorabbit>
|
|
2
|
+
|
|
3
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/550dd0e3a86a0261f3cc7dd0bf59d1b8d03ea138 ) and raygui ( https://github.com/raysan5/raygui/commit/181e77961bef8ba763f9098063072e7faa0e0e67 )
|
|
4
|
+
|
|
1
5
|
2026-08-02 vaiorabbit <http://twitter.com/vaiorabbit>
|
|
2
6
|
|
|
3
7
|
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/c5a6d94110d713fafd9d3191c28875d99ae704d4 ) and raygui ( https://github.com/raysan5/raygui/commit/9fed992452425d49159ca556fed169c77944adf0 )
|
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 : 2026-
|
|
6
|
+
* Last modified : 2026-09-05
|
|
7
7
|
|
|
8
8
|
Provides Ruby bindings for raylib-related libraries including:
|
|
9
9
|
|
|
10
|
-
* [raylib](https://github.com/raysan5/raylib) version [6.1-dev]( https://github.com/raysan5/raylib/commit/
|
|
10
|
+
* [raylib](https://github.com/raysan5/raylib) version [6.1-dev]( https://github.com/raysan5/raylib/commit/550dd0e3a86a0261f3cc7dd0bf59d1b8d03ea138 )
|
|
11
11
|
* raylib
|
|
12
12
|
* raymath
|
|
13
13
|
* rlgl
|
|
14
|
-
* [raygui](https://github.com/raysan5/raygui) version [5.0-dev]( https://github.com/raysan5/raygui/commit/
|
|
14
|
+
* [raygui](https://github.com/raysan5/raygui) version [5.0-dev]( https://github.com/raysan5/raygui/commit/181e77961bef8ba763f9098063072e7faa0e0e67 )
|
|
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/libraylib.aarch64.so
CHANGED
|
Binary file
|
data/lib/libraylib.arm64.dylib
CHANGED
|
Binary file
|
data/lib/libraylib.dll
CHANGED
|
Binary file
|
data/lib/libraylib.x86_64.dylib
CHANGED
|
Binary file
|
data/lib/libraylib.x86_64.so
CHANGED
|
Binary file
|
data/lib/physac.dll
CHANGED
|
Binary file
|
data/lib/raygui.dll
CHANGED
|
Binary file
|
data/lib/raylib_main.rb
CHANGED
|
@@ -1944,6 +1944,12 @@ module Raylib
|
|
|
1944
1944
|
# @return [bool]
|
|
1945
1945
|
[:IsFileExtension, :IsFileExtension, [:pointer, :pointer], :bool],
|
|
1946
1946
|
|
|
1947
|
+
# @!method IsFileHidden(filePath)
|
|
1948
|
+
# IsFileHidden : Check if file path (file or directory) is hidden by OS
|
|
1949
|
+
# @param filePath [const char *]
|
|
1950
|
+
# @return [bool]
|
|
1951
|
+
[:IsFileHidden, :IsFileHidden, [:pointer], :bool],
|
|
1952
|
+
|
|
1947
1953
|
# @!method GetFileLength(fileName)
|
|
1948
1954
|
# GetFileLength : Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)
|
|
1949
1955
|
# @param fileName [const char *]
|
|
@@ -2594,6 +2600,16 @@ module Raylib
|
|
|
2594
2600
|
# @return [void]
|
|
2595
2601
|
[:DrawTriangleLines, :DrawTriangleLines, [Vector2.by_value, Vector2.by_value, Vector2.by_value, Color.by_value], :void],
|
|
2596
2602
|
|
|
2603
|
+
# @!method DrawTriangleLinesEx(v1, v2, v3, thick, color)
|
|
2604
|
+
# DrawTriangleLinesEx : Draw triangle outline with line thickness, counter-clockwise vertex order
|
|
2605
|
+
# @param v1 [Vector2]
|
|
2606
|
+
# @param v2 [Vector2]
|
|
2607
|
+
# @param v3 [Vector2]
|
|
2608
|
+
# @param thick [float]
|
|
2609
|
+
# @param color [Color]
|
|
2610
|
+
# @return [void]
|
|
2611
|
+
[:DrawTriangleLinesEx, :DrawTriangleLinesEx, [Vector2.by_value, Vector2.by_value, Vector2.by_value, :float, Color.by_value], :void],
|
|
2612
|
+
|
|
2597
2613
|
# @!method DrawTriangleFan(points, pointCount, color)
|
|
2598
2614
|
# DrawTriangleFan : Draw a triangle fan defined by points (first vertex is the center)
|
|
2599
2615
|
# @param points [const Vector2 *]
|
|
@@ -2801,6 +2817,18 @@ module Raylib
|
|
|
2801
2817
|
# @return [void]
|
|
2802
2818
|
[:DrawCircleSectorLines, :DrawCircleSectorLines, [Vector2.by_value, :float, :float, :float, :int, Color.by_value], :void],
|
|
2803
2819
|
|
|
2820
|
+
# @!method DrawCircleSectorLinesEx(center, radius, startAngle, endAngle, segments, thick, color)
|
|
2821
|
+
# DrawCircleSectorLinesEx : Draw circle sector outline with thickness
|
|
2822
|
+
# @param center [Vector2]
|
|
2823
|
+
# @param radius [float]
|
|
2824
|
+
# @param startAngle [float]
|
|
2825
|
+
# @param endAngle [float]
|
|
2826
|
+
# @param segments [int]
|
|
2827
|
+
# @param thick [float]
|
|
2828
|
+
# @param color [Color]
|
|
2829
|
+
# @return [void]
|
|
2830
|
+
[:DrawCircleSectorLinesEx, :DrawCircleSectorLinesEx, [Vector2.by_value, :float, :float, :float, :int, :float, Color.by_value], :void],
|
|
2831
|
+
|
|
2804
2832
|
# @!method DrawCircleLines(centerX, centerY, radius, color)
|
|
2805
2833
|
# DrawCircleLines : Draw circle outline
|
|
2806
2834
|
# @param centerX [int]
|
|
@@ -2865,6 +2893,16 @@ module Raylib
|
|
|
2865
2893
|
# @return [void]
|
|
2866
2894
|
[:DrawEllipseLinesV, :DrawEllipseLinesV, [Vector2.by_value, :float, :float, Color.by_value], :void],
|
|
2867
2895
|
|
|
2896
|
+
# @!method DrawEllipseLinesEx(center, radiusH, radiusV, thick, color)
|
|
2897
|
+
# DrawEllipseLinesEx : Draw ellipse outline with line thickness
|
|
2898
|
+
# @param center [Vector2]
|
|
2899
|
+
# @param radiusH [float]
|
|
2900
|
+
# @param radiusV [float]
|
|
2901
|
+
# @param thick [float]
|
|
2902
|
+
# @param color [Color]
|
|
2903
|
+
# @return [void]
|
|
2904
|
+
[:DrawEllipseLinesEx, :DrawEllipseLinesEx, [Vector2.by_value, :float, :float, :float, Color.by_value], :void],
|
|
2905
|
+
|
|
2868
2906
|
# @!method DrawRing(center, innerRadius, outerRadius, startAngle, endAngle, segments, color)
|
|
2869
2907
|
# DrawRing : Draw ring
|
|
2870
2908
|
# @param center [Vector2]
|
|
@@ -2889,6 +2927,19 @@ module Raylib
|
|
|
2889
2927
|
# @return [void]
|
|
2890
2928
|
[:DrawRingLines, :DrawRingLines, [Vector2.by_value, :float, :float, :float, :float, :int, Color.by_value], :void],
|
|
2891
2929
|
|
|
2930
|
+
# @!method DrawRingLinesEx(center, innerRadius, outerRadius, startAngle, endAngle, segments, thick, color)
|
|
2931
|
+
# DrawRingLinesEx : Draw ring outline with line thickness
|
|
2932
|
+
# @param center [Vector2]
|
|
2933
|
+
# @param innerRadius [float]
|
|
2934
|
+
# @param outerRadius [float]
|
|
2935
|
+
# @param startAngle [float]
|
|
2936
|
+
# @param endAngle [float]
|
|
2937
|
+
# @param segments [int]
|
|
2938
|
+
# @param thick [float]
|
|
2939
|
+
# @param color [Color]
|
|
2940
|
+
# @return [void]
|
|
2941
|
+
[:DrawRingLinesEx, :DrawRingLinesEx, [Vector2.by_value, :float, :float, :float, :float, :int, :float, Color.by_value], :void],
|
|
2942
|
+
|
|
2892
2943
|
# @!method DrawSplineLinear(points, pointCount, thick, color)
|
|
2893
2944
|
# DrawSplineLinear : Draw spline: Linear, minimum 2 points
|
|
2894
2945
|
# @param points [const Vector2 *]
|
|
@@ -3886,6 +3937,14 @@ module Raylib
|
|
|
3886
3937
|
# @return [RenderTexture2D]
|
|
3887
3938
|
[:LoadRenderTexture, :LoadRenderTexture, [:int, :int], RenderTexture2D.by_value],
|
|
3888
3939
|
|
|
3940
|
+
# @!method LoadRenderTextureEx(width, height, format)
|
|
3941
|
+
# LoadRenderTextureEx : Load texture for rendering (framebuffer), with specific format
|
|
3942
|
+
# @param width [int]
|
|
3943
|
+
# @param height [int]
|
|
3944
|
+
# @param format [int]
|
|
3945
|
+
# @return [RenderTexture2D]
|
|
3946
|
+
[:LoadRenderTextureEx, :LoadRenderTextureEx, [:int, :int, :int], RenderTexture2D.by_value],
|
|
3947
|
+
|
|
3889
3948
|
# @!method IsTextureValid(texture)
|
|
3890
3949
|
# IsTextureValid : Check if texture is valid (loaded in GPU)
|
|
3891
3950
|
# @param texture [Texture2D]
|