raylib-bindings 0.7.3-x86_64-linux → 0.7.4-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +13 -0
- data/README.md +13 -6
- data/lib/config.rb +1 -0
- data/lib/libraylib.x86_64.so +0 -0
- data/lib/physac.x86_64.so +0 -0
- data/lib/raygui.x86_64.so +0 -0
- data/lib/raygui_main.rb +16 -4
- data/lib/raylib_main.rb +47 -20
- data/lib/raymath.rb +3 -3
- data/lib/rlgl.rb +3 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75de110d65efb6a565e05863aebbc788dc10a13d876bd437967baaa23fb18753
|
4
|
+
data.tar.gz: 14559df549f26cabf6cd40b4244958fa0dcaf4b7c8f1a9a42e28417d49bfe60f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfb2ea7e9e72524b83178f93ef5bf05ae58f01d732ba165f34f7b4cd4fd9cc885bf1b25fa4c4a2e9729c24a4299ebc980ebe4aa585a079abbb37fe847cbb9edc
|
7
|
+
data.tar.gz: a2d2c4bd5943678ae439254104db690f9d3d9065c01643348d455e912dc161c593e934b797904e79d82e47cba5c5af7c74f2e33ea48273ee8bbb2320d3dc84e6
|
data/ChangeLog
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
2024-06-15 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/b4fbdc028302f9a697f196e8d02a7dca28912f59 ) and raygui ( https://github.com/raysan5/raygui/commit/4b3d94f5df6a5a2aa86286350f7e20c0ca35f516 )
|
4
|
+
|
5
|
+
2024-05-25 vaiorabbit <http://twitter.com/vaiorabbit>
|
6
|
+
|
7
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/785ec74b92da4f91181ff7b1c89c8ae5ee19f1b6 ) and raygui ( https://github.com/raysan5/raygui/commit/7bb66e5c7f3e283995a43c68965ee82acc65637a )
|
8
|
+
|
9
|
+
2024-05-12 vaiorabbit <http://twitter.com/vaiorabbit>
|
10
|
+
|
11
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/f62202198e35161a9fe394a14bbd1a7c655107ad ) and raygui ( https://github.com/raysan5/raygui/commit/12804826d01bfb636e36f816bda19eaa23b4ace7 )
|
12
|
+
* Fixed constant redefinition warnings. (Ref.: https://github.com/raysan5/raylib/commit/33b32ca53a7817a9cfdb1840a8ab75fa7cb47723 https://github.com/raysan5/raylib/blob/f62202198e35161a9fe394a14bbd1a7c655107ad/src/config.h#L115-L121 )
|
13
|
+
|
1
14
|
2024-05-04 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
15
|
|
3
16
|
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/f1007554a0a8145060797c0aa8169bdaf2c1c6b8 ) and raygui ( https://github.com/raysan5/raygui/commit/a3a0e86e215145c28726e6f469f13d0aa6647a5e )
|
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-
|
6
|
+
* Last modified : 2024-06-15
|
7
7
|
|
8
8
|
Provides Ruby bindings for raylib-related libraries including:
|
9
9
|
|
10
|
-
* [raylib](https://github.com/raysan5/raylib) version [5.1-dev]( https://github.com/raysan5/raylib/commit/
|
10
|
+
* [raylib](https://github.com/raysan5/raylib) version [5.1-dev]( https://github.com/raysan5/raylib/commit/b4fbdc028302f9a697f196e8d02a7dca28912f59 )
|
11
11
|
* raylib
|
12
12
|
* raymath
|
13
13
|
* rlgl
|
14
|
-
* [raygui](https://github.com/raysan5/raygui) version [4.1-dev]( https://github.com/raysan5/raygui/commit/
|
14
|
+
* [raygui](https://github.com/raysan5/raygui) version [4.1-dev]( https://github.com/raysan5/raygui/commit/4b3d94f5df6a5a2aa86286350f7e20c0ca35f516 )
|
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">
|
@@ -48,7 +48,7 @@ D:\> ruby template.rb
|
|
48
48
|
* Ruby interpreter
|
49
49
|
* Tested on:
|
50
50
|
* [macOS] https://rvm.io
|
51
|
-
* ruby 3.3.
|
51
|
+
* ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
|
52
52
|
* [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
|
53
53
|
* ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x64-mingw-ucrt]
|
54
54
|
* [Linux/x86_64 WSL] https://github.com/rvm/ubuntu_rvm
|
@@ -63,8 +63,8 @@ D:\> ruby template.rb
|
|
63
63
|
* [macOS] clang
|
64
64
|
|
65
65
|
$ clang --version
|
66
|
-
Apple clang version 15.0.0 (clang-1500.
|
67
|
-
Target: arm64-apple-darwin23.
|
66
|
+
Apple clang version 15.0.0 (clang-1500.3.9.4)
|
67
|
+
Target: arm64-apple-darwin23.4.0
|
68
68
|
Thread model: posix
|
69
69
|
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
70
70
|
|
@@ -83,6 +83,7 @@ D:\> ruby template.rb
|
|
83
83
|
* Ruby interpreter
|
84
84
|
* Tested on:
|
85
85
|
* [macOS]
|
86
|
+
* ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
|
86
87
|
* ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
|
87
88
|
* ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin21]
|
88
89
|
* ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
|
@@ -100,6 +101,12 @@ D:\> ruby template.rb
|
|
100
101
|
* Tested on:
|
101
102
|
* [macOS] clang
|
102
103
|
|
104
|
+
$ clang --version
|
105
|
+
Apple clang version 15.0.0 (clang-1500.0.40.1)
|
106
|
+
Target: arm64-apple-darwin23.0.0
|
107
|
+
Thread model: posix
|
108
|
+
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
109
|
+
|
103
110
|
$ clang --version
|
104
111
|
Apple clang version 14.0.0 (clang-1400.0.29.202)
|
105
112
|
Target: arm64-apple-darwin22.2.0
|
data/lib/config.rb
CHANGED
@@ -79,6 +79,7 @@ module Raylib
|
|
79
79
|
SUPPORT_IMAGE_MANIPULATION = 1
|
80
80
|
SUPPORT_DEFAULT_FONT = 1
|
81
81
|
SUPPORT_FILEFORMAT_TTF = 1
|
82
|
+
SUPPORT_FILEFORMAT_FNT = 1
|
82
83
|
SUPPORT_TEXT_MANIPULATION = 1
|
83
84
|
SUPPORT_FONT_ATLAS_WHITE_REC = 1
|
84
85
|
MAX_TEXT_BUFFER_LENGTH = 1024 # Size of internal static buffers used on some functions:
|
data/lib/libraylib.x86_64.so
CHANGED
Binary file
|
data/lib/physac.x86_64.so
CHANGED
Binary file
|
data/lib/raygui.x86_64.so
CHANGED
Binary file
|
data/lib/raygui_main.rb
CHANGED
@@ -127,6 +127,7 @@ module Raylib
|
|
127
127
|
# DropdownBox
|
128
128
|
ARROW_PADDING = 16 # DropdownBox arrow separation from border and items
|
129
129
|
DROPDOWN_ITEMS_SPACING = 17 # DropdownBox items separation
|
130
|
+
DROPDOWN_ARROW_HIDDEN = 18 # DropdownBox arrow hidden
|
130
131
|
|
131
132
|
# enum GuiTextBoxProperty
|
132
133
|
# TextBox/TextBoxMulti/ValueBox/Spinner
|
@@ -139,10 +140,11 @@ module Raylib
|
|
139
140
|
|
140
141
|
# enum GuiListViewProperty
|
141
142
|
# ListView
|
142
|
-
LIST_ITEMS_HEIGHT = 16
|
143
|
-
LIST_ITEMS_SPACING = 17
|
144
|
-
SCROLLBAR_WIDTH = 18
|
145
|
-
SCROLLBAR_SIDE = 19
|
143
|
+
LIST_ITEMS_HEIGHT = 16 # ListView items height
|
144
|
+
LIST_ITEMS_SPACING = 17 # ListView items separation
|
145
|
+
SCROLLBAR_WIDTH = 18 # ListView scrollbar size (usually width)
|
146
|
+
SCROLLBAR_SIDE = 19 # ListView scrollbar side (0-SCROLLBAR_LEFT_SIDE, 1-SCROLLBAR_RIGHT_SIDE)
|
147
|
+
LIST_ITEMS_BORDER_WIDTH = 20 # ListView items border width
|
146
148
|
|
147
149
|
# enum GuiColorPickerProperty
|
148
150
|
# ColorPicker
|
@@ -726,6 +728,16 @@ module Raylib
|
|
726
728
|
# @return [int]
|
727
729
|
[:GuiValueBox, :GuiValueBox, [Rectangle.by_value, :pointer, :pointer, :int, :int, :bool], :int],
|
728
730
|
|
731
|
+
# @!method GuiValueBoxFloat(bounds, text, textValue, value, editMode)
|
732
|
+
# GuiValueBoxFloat : Value box control for float values
|
733
|
+
# @param bounds [Rectangle]
|
734
|
+
# @param text [const char*]
|
735
|
+
# @param textValue [char *]
|
736
|
+
# @param value [float *]
|
737
|
+
# @param editMode [bool]
|
738
|
+
# @return [int]
|
739
|
+
[:GuiValueBoxFloat, :GuiValueBoxFloat, [Rectangle.by_value, :pointer, :pointer, :pointer, :bool], :int],
|
740
|
+
|
729
741
|
# @!method GuiTextBox(bounds, text, textSize, editMode)
|
730
742
|
# GuiTextBox : Text Box control, updates input text
|
731
743
|
# @param bounds [Rectangle]
|
data/lib/raylib_main.rb
CHANGED
@@ -198,7 +198,7 @@ module Raylib
|
|
198
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
|
-
GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 # Gamepad top/back trigger right (
|
201
|
+
GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 # Gamepad top/back trigger right (first), it could be a trailing button
|
202
202
|
GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12 # Gamepad top/back trigger right (second), it could be a trailing button
|
203
203
|
GAMEPAD_BUTTON_MIDDLE_LEFT = 13 # Gamepad center buttons, left one (i.e. PS3: Select)
|
204
204
|
GAMEPAD_BUTTON_MIDDLE = 14 # Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)
|
@@ -362,11 +362,11 @@ module Raylib
|
|
362
362
|
|
363
363
|
# enum CameraMode
|
364
364
|
# Camera system modes
|
365
|
-
CAMERA_CUSTOM = 0 #
|
366
|
-
CAMERA_FREE = 1 #
|
367
|
-
CAMERA_ORBITAL = 2 #
|
368
|
-
CAMERA_FIRST_PERSON = 3 #
|
369
|
-
CAMERA_THIRD_PERSON = 4 #
|
365
|
+
CAMERA_CUSTOM = 0 # Camera custom, controlled by user (UpdateCamera() does nothing)
|
366
|
+
CAMERA_FREE = 1 # Camera free mode
|
367
|
+
CAMERA_ORBITAL = 2 # Camera orbital, around target, zoom supported
|
368
|
+
CAMERA_FIRST_PERSON = 3 # Camera first person
|
369
|
+
CAMERA_THIRD_PERSON = 4 # Camera third person
|
370
370
|
|
371
371
|
# enum CameraProjection
|
372
372
|
# Camera projection
|
@@ -1935,6 +1935,12 @@ module Raylib
|
|
1935
1935
|
# @return [bool]
|
1936
1936
|
[:IsPathFile, :IsPathFile, [:pointer], :bool],
|
1937
1937
|
|
1938
|
+
# @!method IsFileNameValid(fileName)
|
1939
|
+
# IsFileNameValid : Check if fileName is valid for the platform/OS
|
1940
|
+
# @param fileName [const char *]
|
1941
|
+
# @return [bool]
|
1942
|
+
[:IsFileNameValid, :IsFileNameValid, [:pointer], :bool],
|
1943
|
+
|
1938
1944
|
# @!method LoadDirectoryFiles(dirPath)
|
1939
1945
|
# LoadDirectoryFiles : Load directory filepaths
|
1940
1946
|
# @param dirPath [const char *]
|
@@ -2400,7 +2406,7 @@ module Raylib
|
|
2400
2406
|
|
2401
2407
|
# @!method DrawLineStrip(points, pointCount, color)
|
2402
2408
|
# DrawLineStrip : Draw lines sequence (using gl lines)
|
2403
|
-
# @param points [Vector2 *]
|
2409
|
+
# @param points [const Vector2 *]
|
2404
2410
|
# @param pointCount [int]
|
2405
2411
|
# @param color [Color]
|
2406
2412
|
# @return [void]
|
@@ -2657,7 +2663,7 @@ module Raylib
|
|
2657
2663
|
|
2658
2664
|
# @!method DrawTriangleFan(points, pointCount, color)
|
2659
2665
|
# DrawTriangleFan : Draw a triangle fan defined by points (first vertex is the center)
|
2660
|
-
# @param points [Vector2 *]
|
2666
|
+
# @param points [const Vector2 *]
|
2661
2667
|
# @param pointCount [int]
|
2662
2668
|
# @param color [Color]
|
2663
2669
|
# @return [void]
|
@@ -2665,7 +2671,7 @@ module Raylib
|
|
2665
2671
|
|
2666
2672
|
# @!method DrawTriangleStrip(points, pointCount, color)
|
2667
2673
|
# DrawTriangleStrip : Draw a triangle strip defined by points
|
2668
|
-
# @param points [Vector2 *]
|
2674
|
+
# @param points [const Vector2 *]
|
2669
2675
|
# @param pointCount [int]
|
2670
2676
|
# @param color [Color]
|
2671
2677
|
# @return [void]
|
@@ -2704,7 +2710,7 @@ module Raylib
|
|
2704
2710
|
|
2705
2711
|
# @!method DrawSplineLinear(points, pointCount, thick, color)
|
2706
2712
|
# DrawSplineLinear : Draw spline: Linear, minimum 2 points
|
2707
|
-
# @param points [Vector2 *]
|
2713
|
+
# @param points [const Vector2 *]
|
2708
2714
|
# @param pointCount [int]
|
2709
2715
|
# @param thick [float]
|
2710
2716
|
# @param color [Color]
|
@@ -2713,7 +2719,7 @@ module Raylib
|
|
2713
2719
|
|
2714
2720
|
# @!method DrawSplineBasis(points, pointCount, thick, color)
|
2715
2721
|
# DrawSplineBasis : Draw spline: B-Spline, minimum 4 points
|
2716
|
-
# @param points [Vector2 *]
|
2722
|
+
# @param points [const Vector2 *]
|
2717
2723
|
# @param pointCount [int]
|
2718
2724
|
# @param thick [float]
|
2719
2725
|
# @param color [Color]
|
@@ -2722,7 +2728,7 @@ module Raylib
|
|
2722
2728
|
|
2723
2729
|
# @!method DrawSplineCatmullRom(points, pointCount, thick, color)
|
2724
2730
|
# DrawSplineCatmullRom : Draw spline: Catmull-Rom, minimum 4 points
|
2725
|
-
# @param points [Vector2 *]
|
2731
|
+
# @param points [const Vector2 *]
|
2726
2732
|
# @param pointCount [int]
|
2727
2733
|
# @param thick [float]
|
2728
2734
|
# @param color [Color]
|
@@ -2731,7 +2737,7 @@ module Raylib
|
|
2731
2737
|
|
2732
2738
|
# @!method DrawSplineBezierQuadratic(points, pointCount, thick, color)
|
2733
2739
|
# DrawSplineBezierQuadratic : Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]
|
2734
|
-
# @param points [Vector2 *]
|
2740
|
+
# @param points [const Vector2 *]
|
2735
2741
|
# @param pointCount [int]
|
2736
2742
|
# @param thick [float]
|
2737
2743
|
# @param color [Color]
|
@@ -2740,7 +2746,7 @@ module Raylib
|
|
2740
2746
|
|
2741
2747
|
# @!method DrawSplineBezierCubic(points, pointCount, thick, color)
|
2742
2748
|
# DrawSplineBezierCubic : Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]
|
2743
|
-
# @param points [Vector2 *]
|
2749
|
+
# @param points [const Vector2 *]
|
2744
2750
|
# @param pointCount [int]
|
2745
2751
|
# @param thick [float]
|
2746
2752
|
# @param color [Color]
|
@@ -2897,7 +2903,7 @@ module Raylib
|
|
2897
2903
|
# @!method CheckCollisionPointPoly(point, points, pointCount)
|
2898
2904
|
# CheckCollisionPointPoly : Check if point is within a polygon described by array of vertices
|
2899
2905
|
# @param point [Vector2]
|
2900
|
-
# @param points [Vector2 *]
|
2906
|
+
# @param points [const Vector2 *]
|
2901
2907
|
# @param pointCount [int]
|
2902
2908
|
# @return [bool]
|
2903
2909
|
[:CheckCollisionPointPoly, :CheckCollisionPointPoly, [Vector2.by_value, :pointer, :int], :bool],
|
@@ -2921,6 +2927,15 @@ module Raylib
|
|
2921
2927
|
# @return [bool]
|
2922
2928
|
[:CheckCollisionPointLine, :CheckCollisionPointLine, [Vector2.by_value, Vector2.by_value, Vector2.by_value, :int], :bool],
|
2923
2929
|
|
2930
|
+
# @!method CheckCollisionCircleLine(center, radius, p1, p2)
|
2931
|
+
# CheckCollisionCircleLine : Check if circle collides with a line created betweeen two points [p1] and [p2]
|
2932
|
+
# @param center [Vector2]
|
2933
|
+
# @param radius [float]
|
2934
|
+
# @param p1 [Vector2]
|
2935
|
+
# @param p2 [Vector2]
|
2936
|
+
# @return [bool]
|
2937
|
+
[:CheckCollisionCircleLine, :CheckCollisionCircleLine, [Vector2.by_value, :float, Vector2.by_value, Vector2.by_value], :bool],
|
2938
|
+
|
2924
2939
|
# @!method GetCollisionRec(rec1, rec2)
|
2925
2940
|
# GetCollisionRec : Get collision rectangle for two rectangles collision
|
2926
2941
|
# @param rec1 [Rectangle]
|
@@ -4114,6 +4129,18 @@ module Raylib
|
|
4114
4129
|
# @return [const char *]
|
4115
4130
|
[:TextToPascal, :TextToPascal, [:pointer], :pointer],
|
4116
4131
|
|
4132
|
+
# @!method TextToSnake(text)
|
4133
|
+
# TextToSnake : Get Snake case notation version of provided string
|
4134
|
+
# @param text [const char *]
|
4135
|
+
# @return [const char *]
|
4136
|
+
[:TextToSnake, :TextToSnake, [:pointer], :pointer],
|
4137
|
+
|
4138
|
+
# @!method TextToCamel(text)
|
4139
|
+
# TextToCamel : Get Camel case notation version of provided string
|
4140
|
+
# @param text [const char *]
|
4141
|
+
# @return [const char *]
|
4142
|
+
[:TextToCamel, :TextToCamel, [:pointer], :pointer],
|
4143
|
+
|
4117
4144
|
# @!method TextToInteger(text)
|
4118
4145
|
# TextToInteger : Get integer value from text (negative values not supported)
|
4119
4146
|
# @param text [const char *]
|
@@ -4162,7 +4189,7 @@ module Raylib
|
|
4162
4189
|
|
4163
4190
|
# @!method DrawTriangleStrip3D(points, pointCount, color)
|
4164
4191
|
# DrawTriangleStrip3D : Draw a triangle strip defined by points
|
4165
|
-
# @param points [Vector3 *]
|
4192
|
+
# @param points [const Vector3 *]
|
4166
4193
|
# @param pointCount [int]
|
4167
4194
|
# @param color [Color]
|
4168
4195
|
# @return [void]
|
@@ -4894,11 +4921,11 @@ module Raylib
|
|
4894
4921
|
# @return [Wave]
|
4895
4922
|
[:WaveCopy, :WaveCopy, [Wave.by_value], Wave.by_value],
|
4896
4923
|
|
4897
|
-
# @!method WaveCrop(wave,
|
4898
|
-
# WaveCrop : Crop a wave to defined
|
4924
|
+
# @!method WaveCrop(wave, initFrame, finalFrame)
|
4925
|
+
# WaveCrop : Crop a wave to defined frames range
|
4899
4926
|
# @param wave [Wave *]
|
4900
|
-
# @param
|
4901
|
-
# @param
|
4927
|
+
# @param initFrame [int]
|
4928
|
+
# @param finalFrame [int]
|
4902
4929
|
# @return [void]
|
4903
4930
|
[:WaveCrop, :WaveCrop, [:pointer, :int, :int], :void],
|
4904
4931
|
|
data/lib/raymath.rb
CHANGED
@@ -820,14 +820,14 @@ module Raylib
|
|
820
820
|
# @return [Matrix]
|
821
821
|
[:MatrixScale, :MatrixScale, [:float, :float, :float], Matrix.by_value],
|
822
822
|
|
823
|
-
# @!method MatrixFrustum(left, right, bottom, top,
|
823
|
+
# @!method MatrixFrustum(left, right, bottom, top, nearPlane, farPlane)
|
824
824
|
# MatrixFrustum
|
825
825
|
# @param left [double]
|
826
826
|
# @param right [double]
|
827
827
|
# @param bottom [double]
|
828
828
|
# @param top [double]
|
829
|
-
# @param
|
830
|
-
# @param
|
829
|
+
# @param nearPlane [double]
|
830
|
+
# @param farPlane [double]
|
831
831
|
# @return [Matrix]
|
832
832
|
[:MatrixFrustum, :MatrixFrustum, [:double, :double, :double, :double, :double, :double], Matrix.by_value],
|
833
833
|
|
data/lib/rlgl.rb
CHANGED
@@ -404,22 +404,20 @@ module Raylib
|
|
404
404
|
# @return [void]
|
405
405
|
[:rlViewport, :rlViewport, [:int, :int, :int, :int], :void],
|
406
406
|
|
407
|
-
# @!method rlSetClipPlanes(
|
407
|
+
# @!method rlSetClipPlanes(nearPlane, farPlane)
|
408
408
|
# rlSetClipPlanes : Set clip planes distances
|
409
|
-
# @param
|
410
|
-
# @param
|
409
|
+
# @param nearPlane [double]
|
410
|
+
# @param farPlane [double]
|
411
411
|
# @return [void]
|
412
412
|
[:rlSetClipPlanes, :rlSetClipPlanes, [:double, :double], :void],
|
413
413
|
|
414
414
|
# @!method rlGetCullDistanceNear()
|
415
415
|
# rlGetCullDistanceNear : Get cull plane distance near
|
416
|
-
# @param []
|
417
416
|
# @return [double]
|
418
417
|
[:rlGetCullDistanceNear, :rlGetCullDistanceNear, [], :double],
|
419
418
|
|
420
419
|
# @!method rlGetCullDistanceFar()
|
421
420
|
# rlGetCullDistanceFar : Get cull plane distance far
|
422
|
-
# @param []
|
423
421
|
# @return [double]
|
424
422
|
[:rlGetCullDistanceFar, :rlGetCullDistanceFar, [], :double],
|
425
423
|
|
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.
|
4
|
+
version: 0.7.4
|
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-
|
11
|
+
date: 2024-06-15 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.
|
74
|
+
rubygems_version: 3.5.11
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Ruby bindings for raylib, raygui and Physac
|