raylib-bindings 0.8.4 → 0.8.5
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 +12 -0
- data/README.md +8 -5
- data/lib/config.rb +1 -1
- 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.aarch64.so +0 -0
- data/lib/physac.dll +0 -0
- data/lib/physac.x86_64.so +0 -0
- data/lib/raygui.aarch64.so +0 -0
- data/lib/raygui.dll +0 -0
- data/lib/raygui.x86_64.so +0 -0
- data/lib/raygui_main.rb +3 -2
- data/lib/raylib_main.rb +4 -4
- data/lib/raymath.rb +19 -19
- data/lib/rlgl.rb +21 -21
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14d0f998d6c8df1609c8eafe9834105b2f01566e4137b9ea883ea07cde544816
|
|
4
|
+
data.tar.gz: ae39c52222bfaaa7e1e5e899e05a07e8b3f0512c21846dd9d6b9b8c5d19ff8f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1996025cbc04420c81cfbff5af8b5df687c8ddae5d7e3e41337e6015c0d56b19505bd9bf96e08e6352dbedd655549b52753d3bfd80baa99a1b01f1b27b2c08e8
|
|
7
|
+
data.tar.gz: 0c52e5e83a50e3a08dcd256b2b4ece12cd04f95ee5582ba8f234af2df47899973669a54bdea76cd7c723a48f925506f7902487ca538063d4a1e910d215470139
|
data/ChangeLog
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
2026-11-22 vaiorabbit <http://twitter.com/vaiorabbit>
|
|
2
|
+
|
|
3
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/e9ada7551588220bfa2ad18e85a48e162b897138 ) and raygui ( https://github.com/raysan5/raygui/commit/2a3c4790c6a887075ee192e44892916ed210c2e6 )
|
|
4
|
+
|
|
5
|
+
2026-10-24 vaiorabbit <http://twitter.com/vaiorabbit>
|
|
6
|
+
|
|
7
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/48f352c96668369787b47e1bca9f3b78bf2650f1 ) and raygui ( https://github.com/raysan5/raygui/commit/1abccb3a5303d041dc14404b7dd874fa665dd4af )
|
|
8
|
+
|
|
9
|
+
2026-09-06 vaiorabbit <http://twitter.com/vaiorabbit>
|
|
10
|
+
|
|
11
|
+
* examples/shapes_digital_clock.rb : Added
|
|
12
|
+
|
|
1
13
|
2026-09-05 vaiorabbit <http://twitter.com/vaiorabbit>
|
|
2
14
|
|
|
3
15
|
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/550dd0e3a86a0261f3cc7dd0bf59d1b8d03ea138 ) and raygui ( https://github.com/raysan5/raygui/commit/181e77961bef8ba763f9098063072e7faa0e0e67 )
|
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-11-22
|
|
7
7
|
|
|
8
8
|
Provides Ruby bindings for raylib-related libraries including:
|
|
9
9
|
|
|
10
|
-
* [raylib](https://github.com/raysan5/raylib) version [6.
|
|
10
|
+
* [raylib](https://github.com/raysan5/raylib) version [6.5-dev]( https://github.com/raysan5/raylib/commit/e9ada7551588220bfa2ad18e85a48e162b897138 )
|
|
11
11
|
* raylib
|
|
12
12
|
* raymath
|
|
13
13
|
* rlgl
|
|
14
|
-
* [raygui](https://github.com/raysan5/raygui) version [5.
|
|
14
|
+
* [raygui](https://github.com/raysan5/raygui) version [5.1-dev]( https://github.com/raysan5/raygui/commit/2a3c4790c6a887075ee192e44892916ed210c2e6 )
|
|
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">
|
|
@@ -72,7 +72,7 @@ Exit code policy:
|
|
|
72
72
|
* Ruby interpreter
|
|
73
73
|
* Tested on:
|
|
74
74
|
* [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
|
|
75
|
-
* ruby 4.0.
|
|
75
|
+
* ruby 4.0.10 (2026-11-19 revision a704b7cd95) +PRISM [x64-mingw-ucrt]
|
|
76
76
|
|
|
77
77
|
* If you need to build DLLs/shared libralies for your own runtime envrioenment (Linux, etc.):
|
|
78
78
|
* CMake https://cmake.org/download/
|
|
@@ -80,7 +80,7 @@ Exit code policy:
|
|
|
80
80
|
* Tested compilers:
|
|
81
81
|
* [Windows] gcc
|
|
82
82
|
|
|
83
|
-
gcc (
|
|
83
|
+
gcc (Rev7, Built by MSYS2 project) 16.2.0
|
|
84
84
|
|
|
85
85
|
<details>
|
|
86
86
|
<summary>Older versions</summary>
|
|
@@ -97,6 +97,8 @@ Exit code policy:
|
|
|
97
97
|
* ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
|
|
98
98
|
* ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
|
|
99
99
|
* [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
|
|
100
|
+
* ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +PRISM [x64-mingw-ucrt]
|
|
101
|
+
* ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +PRISM [x64-mingw-ucrt]
|
|
100
102
|
* ruby 4.0.1 (2026-01-13 revision e04267a14b) +PRISM [x64-mingw-ucrt]
|
|
101
103
|
* ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [x64-mingw-ucrt]
|
|
102
104
|
* ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [x64-mingw-ucrt]
|
|
@@ -156,6 +158,7 @@ Exit code policy:
|
|
|
156
158
|
|
|
157
159
|
* [Windows] gcc
|
|
158
160
|
|
|
161
|
+
gcc (Rev5, Built by MSYS2 project) 16.1.0
|
|
159
162
|
gcc (Rev8, Built by MSYS2 project) 15.2.0
|
|
160
163
|
gcc (Rev3, Built by MSYS2 project) 13.2.0
|
|
161
164
|
gcc (Rev7, Built by MSYS2 project) 12.2.0
|
data/lib/config.rb
CHANGED
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.aarch64.so
CHANGED
|
Binary file
|
data/lib/physac.dll
CHANGED
|
Binary file
|
data/lib/physac.x86_64.so
CHANGED
|
Binary file
|
data/lib/raygui.aarch64.so
CHANGED
|
Binary file
|
data/lib/raygui.dll
CHANGED
|
Binary file
|
data/lib/raygui.x86_64.so
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 = 5
|
|
15
|
-
RAYGUI_VERSION_MINOR =
|
|
15
|
+
RAYGUI_VERSION_MINOR = 1
|
|
16
16
|
RAYGUI_VERSION_PATCH = 0
|
|
17
|
-
RAYGUI_VERSION = "5.
|
|
17
|
+
RAYGUI_VERSION = "5.1-dev"
|
|
18
18
|
SCROLLBAR_LEFT_SIDE = 0
|
|
19
19
|
SCROLLBAR_RIGHT_SIDE = 1
|
|
20
20
|
|
|
@@ -140,6 +140,7 @@ module Raylib
|
|
|
140
140
|
DROPDOWN_ITEMS_SPACING = 17 # DropdownBox items separation
|
|
141
141
|
DROPDOWN_ARROW_HIDDEN = 18 # DropdownBox arrow hidden
|
|
142
142
|
DROPDOWN_ROLL_UP = 19 # DropdownBox roll up flag: 0-Roll down, 1-Roll up
|
|
143
|
+
DROPDOWN_MAX_HEIGHT = 20 # DropdownBox max height, using scrollbar if required, 0-No limit
|
|
143
144
|
|
|
144
145
|
# enum GuiTextBoxProperty
|
|
145
146
|
# TextBox/TextBoxMulti/ValueBox/Spinner
|
data/lib/raylib_main.rb
CHANGED
|
@@ -12,9 +12,9 @@ module Raylib
|
|
|
12
12
|
# Define/Macro
|
|
13
13
|
|
|
14
14
|
RAYLIB_VERSION_MAJOR = 6
|
|
15
|
-
RAYLIB_VERSION_MINOR =
|
|
15
|
+
RAYLIB_VERSION_MINOR = 5
|
|
16
16
|
RAYLIB_VERSION_PATCH = 0
|
|
17
|
-
RAYLIB_VERSION = "6.
|
|
17
|
+
RAYLIB_VERSION = "6.5-dev"
|
|
18
18
|
|
|
19
19
|
# Enum
|
|
20
20
|
|
|
@@ -714,7 +714,7 @@ module Raylib
|
|
|
714
714
|
# Camera2D, defines position/orientation in 2d space
|
|
715
715
|
class Camera2D < FFI::Struct
|
|
716
716
|
layout(
|
|
717
|
-
:offset, Vector2, # Camera offset (screen space offset from window origin)
|
|
717
|
+
:offset, Vector2, # Camera offset (screen space offset from window origin, unscaled by DPI, real pixel size)
|
|
718
718
|
:target, Vector2, # Camera target (world space target point that is mapped to screen space offset)
|
|
719
719
|
:rotation, :float, # Camera rotation in degrees (pivots around target)
|
|
720
720
|
:zoom, :float, # Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale
|
|
@@ -1761,7 +1761,7 @@ module Raylib
|
|
|
1761
1761
|
[:TakeScreenshot, :TakeScreenshot, [:pointer], :void],
|
|
1762
1762
|
|
|
1763
1763
|
# @!method SetConfigFlags(flags)
|
|
1764
|
-
# SetConfigFlags : Set
|
|
1764
|
+
# SetConfigFlags : Set init configuration flags (view FLAGS)
|
|
1765
1765
|
# @param flags [unsigned int]
|
|
1766
1766
|
# @return [void]
|
|
1767
1767
|
[:SetConfigFlags, :SetConfigFlags, [:uint], :void],
|
data/lib/raymath.rb
CHANGED
|
@@ -835,34 +835,34 @@ module Raylib
|
|
|
835
835
|
|
|
836
836
|
# @!method MatrixFrustum(left, right, bottom, top, nearPlane, farPlane)
|
|
837
837
|
# MatrixFrustum
|
|
838
|
-
# @param left [
|
|
839
|
-
# @param right [
|
|
840
|
-
# @param bottom [
|
|
841
|
-
# @param top [
|
|
842
|
-
# @param nearPlane [
|
|
843
|
-
# @param farPlane [
|
|
838
|
+
# @param left [float]
|
|
839
|
+
# @param right [float]
|
|
840
|
+
# @param bottom [float]
|
|
841
|
+
# @param top [float]
|
|
842
|
+
# @param nearPlane [float]
|
|
843
|
+
# @param farPlane [float]
|
|
844
844
|
# @return [Matrix]
|
|
845
|
-
[:MatrixFrustum, :MatrixFrustum, [:
|
|
845
|
+
[:MatrixFrustum, :MatrixFrustum, [:float, :float, :float, :float, :float, :float], Matrix.by_value],
|
|
846
846
|
|
|
847
847
|
# @!method MatrixPerspective(fovY, aspect, nearPlane, farPlane)
|
|
848
848
|
# MatrixPerspective
|
|
849
|
-
# @param fovY [
|
|
850
|
-
# @param aspect [
|
|
851
|
-
# @param nearPlane [
|
|
852
|
-
# @param farPlane [
|
|
849
|
+
# @param fovY [float]
|
|
850
|
+
# @param aspect [float]
|
|
851
|
+
# @param nearPlane [float]
|
|
852
|
+
# @param farPlane [float]
|
|
853
853
|
# @return [Matrix]
|
|
854
|
-
[:MatrixPerspective, :MatrixPerspective, [:
|
|
854
|
+
[:MatrixPerspective, :MatrixPerspective, [:float, :float, :float, :float], Matrix.by_value],
|
|
855
855
|
|
|
856
856
|
# @!method MatrixOrtho(left, right, bottom, top, nearPlane, farPlane)
|
|
857
857
|
# MatrixOrtho
|
|
858
|
-
# @param left [
|
|
859
|
-
# @param right [
|
|
860
|
-
# @param bottom [
|
|
861
|
-
# @param top [
|
|
862
|
-
# @param nearPlane [
|
|
863
|
-
# @param farPlane [
|
|
858
|
+
# @param left [float]
|
|
859
|
+
# @param right [float]
|
|
860
|
+
# @param bottom [float]
|
|
861
|
+
# @param top [float]
|
|
862
|
+
# @param nearPlane [float]
|
|
863
|
+
# @param farPlane [float]
|
|
864
864
|
# @return [Matrix]
|
|
865
|
-
[:MatrixOrtho, :MatrixOrtho, [:
|
|
865
|
+
[:MatrixOrtho, :MatrixOrtho, [:float, :float, :float, :float, :float, :float], Matrix.by_value],
|
|
866
866
|
|
|
867
867
|
# @!method MatrixLookAt(eye, target, up)
|
|
868
868
|
# MatrixLookAt
|
data/lib/rlgl.rb
CHANGED
|
@@ -382,25 +382,25 @@ module Raylib
|
|
|
382
382
|
|
|
383
383
|
# @!method rlFrustum(left, right, bottom, top, znear, zfar)
|
|
384
384
|
# rlFrustum
|
|
385
|
-
# @param left [
|
|
386
|
-
# @param right [
|
|
387
|
-
# @param bottom [
|
|
388
|
-
# @param top [
|
|
389
|
-
# @param znear [
|
|
390
|
-
# @param zfar [
|
|
385
|
+
# @param left [float]
|
|
386
|
+
# @param right [float]
|
|
387
|
+
# @param bottom [float]
|
|
388
|
+
# @param top [float]
|
|
389
|
+
# @param znear [float]
|
|
390
|
+
# @param zfar [float]
|
|
391
391
|
# @return [void]
|
|
392
|
-
[:rlFrustum, :rlFrustum, [:
|
|
392
|
+
[:rlFrustum, :rlFrustum, [:float, :float, :float, :float, :float, :float], :void],
|
|
393
393
|
|
|
394
394
|
# @!method rlOrtho(left, right, bottom, top, znear, zfar)
|
|
395
395
|
# rlOrtho
|
|
396
|
-
# @param left [
|
|
397
|
-
# @param right [
|
|
398
|
-
# @param bottom [
|
|
399
|
-
# @param top [
|
|
400
|
-
# @param znear [
|
|
401
|
-
# @param zfar [
|
|
396
|
+
# @param left [float]
|
|
397
|
+
# @param right [float]
|
|
398
|
+
# @param bottom [float]
|
|
399
|
+
# @param top [float]
|
|
400
|
+
# @param znear [float]
|
|
401
|
+
# @param zfar [float]
|
|
402
402
|
# @return [void]
|
|
403
|
-
[:rlOrtho, :rlOrtho, [:
|
|
403
|
+
[:rlOrtho, :rlOrtho, [:float, :float, :float, :float, :float, :float], :void],
|
|
404
404
|
|
|
405
405
|
# @!method rlViewport(x, y, width, height)
|
|
406
406
|
# rlViewport : Set the viewport area
|
|
@@ -413,20 +413,20 @@ module Raylib
|
|
|
413
413
|
|
|
414
414
|
# @!method rlSetClipPlanes(nearPlane, farPlane)
|
|
415
415
|
# rlSetClipPlanes : Set clip planes distances
|
|
416
|
-
# @param nearPlane [
|
|
417
|
-
# @param farPlane [
|
|
416
|
+
# @param nearPlane [float]
|
|
417
|
+
# @param farPlane [float]
|
|
418
418
|
# @return [void]
|
|
419
|
-
[:rlSetClipPlanes, :rlSetClipPlanes, [:
|
|
419
|
+
[:rlSetClipPlanes, :rlSetClipPlanes, [:float, :float], :void],
|
|
420
420
|
|
|
421
421
|
# @!method rlGetCullDistanceNear()
|
|
422
422
|
# rlGetCullDistanceNear : Get cull plane distance near
|
|
423
|
-
# @return [
|
|
424
|
-
[:rlGetCullDistanceNear, :rlGetCullDistanceNear, [], :
|
|
423
|
+
# @return [float]
|
|
424
|
+
[:rlGetCullDistanceNear, :rlGetCullDistanceNear, [], :float],
|
|
425
425
|
|
|
426
426
|
# @!method rlGetCullDistanceFar()
|
|
427
427
|
# rlGetCullDistanceFar : Get cull plane distance far
|
|
428
|
-
# @return [
|
|
429
|
-
[:rlGetCullDistanceFar, :rlGetCullDistanceFar, [], :
|
|
428
|
+
# @return [float]
|
|
429
|
+
[:rlGetCullDistanceFar, :rlGetCullDistanceFar, [], :float],
|
|
430
430
|
|
|
431
431
|
# @!method rlBegin(mode)
|
|
432
432
|
# rlBegin : Initialize drawing mode (how to organize vertex)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: raylib-bindings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vaiorabbit
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
requirements: []
|
|
84
|
-
rubygems_version: 4.0.
|
|
84
|
+
rubygems_version: 4.0.20
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: Ruby bindings for raylib, raygui and Physac
|
|
87
87
|
test_files: []
|