raylib-bindings 0.0.5 → 0.0.7

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: 97de4eeb3366c57e074dfd0e72a69fddd7477a598758035c3b320915ba7d1a30
4
- data.tar.gz: 01626a25447bb95216792736c3ff266ceccf54eaaa74c05ab5375d705a74fc5d
3
+ metadata.gz: 959d637071b9cde5aec418da6045dd8a00ac36b542995b6a18751b6376cbe2ad
4
+ data.tar.gz: fc62dbe98a4b9f0deaa7b1159e40ec4589b3d51d1b8fe7bf2ecb0dcc5f68dea7
5
5
  SHA512:
6
- metadata.gz: 74d4b94b693e10b9876c9e5effc5a3649265b10541c55322cd51efd1012002c2f803f7d88366e9e399bf51fb89a9d3cd3a650dc421ff4cab0ba55546fee54582
7
- data.tar.gz: 47420e4e0f3d5be1f7a49420f10ab682742e462f1e24092b8f7c8c7cccac0389114206957ea6c85d5e54a30441018f3b273c2b148af8e2257ba6b3d11cbc85bf
6
+ metadata.gz: 0034c42202ca7c5fd468180941bfb89006791c2a945b7c789bcdc07dd8e943ff83b1ee7116220f5d157637c4029ef8f3a9d47b1999c978eeb1e6cb8d9a5cb289
7
+ data.tar.gz: 95e32d30e46be03eac2659768ce766fd5d422b0aef2cc0438cd8e6500caa86c7a1e8a670e9e315538e0204a3d6c8d31c1496671199d471a4d04a6e6dad23df51
data/ChangeLog CHANGED
@@ -1,175 +1,187 @@
1
- 2022-02-26 vaiorabbit <http://twitter.com/vaiorabbit>
2
-
3
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/ead8003044aab21f8d155b91ec0bce90cd193500 ), raygui ( https://github.com/raysan5/raygui/commit/c8d8fb5a865a6730cec2c609704333577463feb1 ) and Physac ( https://github.com/victorfisac/Physac/commit/c9c6b3e7054d609e93e52e70f17d5b4dd043575d )
4
- * Fixed incomplete parsing flow
5
-
6
- 2022-01-20 vaiorabbit <http://twitter.com/vaiorabbit>
7
-
8
- * examples/core_2d_camera.rb: Added
9
- * examples/shapes_lines_bezier.rb: Added
10
-
11
- 2022-01-19 vaiorabbit <http://twitter.com/vaiorabbit>
12
-
13
- * examples/lissajous_curve.rb: Added
14
-
15
- 2022-01-17 vaiorabbit <http://twitter.com/vaiorabbit>
16
-
17
- * raygui: Revert to https://github.com/raysan5/raygui/commit/7a2964302ada73438092d0ad11e54f9f9590547a (See https://github.com/vaiorabbit/raylib-bindings/issues/2 for details)
18
-
19
- 2022-01-16 vaiorabbit <http://twitter.com/vaiorabbit>
20
-
21
- * examples/audio_raw_stream.rb: Added
22
-
23
- 2022-01-15 vaiorabbit <http://twitter.com/vaiorabbit>
24
-
25
- * raylib_dll/build_raylib_macos.sh: Stop copying symbolic links
26
-
27
- 2022-01-10 vaiorabbit <http://twitter.com/vaiorabbit>
28
-
29
- * examples/models_animation.rb: Added
30
-
31
- 2022-01-08 vaiorabbit <http://twitter.com/vaiorabbit>
32
-
33
- * examples/raylib_opengl_interop.rb: Use opengl-bindings2
34
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/549ca669aa42462662a610ff240aa4d5736240e5 ) and raygui ( https://github.com/raysan5/raygui/commit/c7eb9268535298ee25be90739c86d1be215f53e5 )
35
-
36
- 2022-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
37
-
38
- * raylib-bindings.gemspec: Bump version
39
-
40
- 2021-12-30 vaiorabbit <http://twitter.com/vaiorabbit>
41
-
42
- * BoundingBox.create (lib/raylib.rb): Fixed wrong implementation
43
-
44
- 2021-12-29 vaiorabbit <http://twitter.com/vaiorabbit>
45
-
46
- * examples/procedural_texture.rb: Added
47
-
48
- 2021-12-26 vaiorabbit <http://twitter.com/vaiorabbit>
49
-
50
- * examples/shaders_raymarching.rb: Added
51
-
52
- 2021-12-24 vaiorabbit <http://twitter.com/vaiorabbit>
53
-
54
- * examples/text_rectangle_bounds.rb: Added
55
-
56
- 2021-12-20 vaiorabbit <http://twitter.com/vaiorabbit>
57
-
58
- * examples/text_draw_3d.rb: Added
59
-
60
- 2021-12-19 vaiorabbit <http://twitter.com/vaiorabbit>
61
-
62
- * examples/models_mesh_picking.rb: Added
63
- * examples/text_font_filters.rb: Added
64
- * examples/utf8_font.rb: Modified to use texture filter
65
- * examples/textures_mouse_painting.rb: Added
66
-
67
- 2021-12-18 vaiorabbit <http://twitter.com/vaiorabbit>
68
-
69
- * examples/models_mesh_generation.rb: Added
70
- * examples/utf8_font.rb: Added another font
71
- * examples/core_3d_split_screen.rb: Added
72
- * examples/core_world_screen.rb: Added
73
- * examples/models_yaw_pitch_roll.rb: Added
74
-
75
- 2021-12-16 vaiorabbit <http://twitter.com/vaiorabbit>
76
-
77
- * raylib_parser.py: Typo
78
- * Python cindex reports va_list as int on macOS
79
- * examples/models_loading_gltf.rb: Added
80
-
81
- 2021-12-15 vaiorabbit <http://twitter.com/vaiorabbit>
82
-
83
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/0454acaacfaae4a3269d443d3d88045240f738c3 )
84
- * Added generator scripts for Windows
85
-
86
- 2021-11-14 vaiorabbit <http://twitter.com/vaiorabbit>
87
-
88
- * examples/core_storage_values.rb: Added
89
-
90
- 2021-11-13 vaiorabbit <http://twitter.com/vaiorabbit>
91
-
92
- * examples/core_drop_files.rb: Added
93
-
94
- 2021-11-09 vaiorabbit <http://twitter.com/vaiorabbit>
95
-
96
- * examples/models_first_person_maze.rb: Added
97
-
98
- 2021-11-08 vaiorabbit <http://twitter.com/vaiorabbit>
99
-
100
- * examples/raylib_opengl_interop.rb: Added
101
- * examples/models_geometric_shapes.rb: Added
102
-
103
- 2021-11-07 vaiorabbit <http://twitter.com/vaiorabbit>
104
-
105
- * examples/rlgl_compute_shader.rb: Added
106
- * examples/models_billboard.rb: Added
107
-
108
- 2021-11-06 vaiorabbit <http://twitter.com/vaiorabbit>
109
-
110
- * examples/physics_demo.rb: Added
111
- * examples/textures_background_scrolling.rb: Added
112
- * Added dll build scripts for Windows
113
-
114
- 2021-11-05 vaiorabbit <http://twitter.com/vaiorabbit>
115
-
116
- * examples/models_box_collisions.rb: Added
117
- * Added physac wrapper and wrapper generator
118
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/2021f09db4df72aea9f963666435bddf0718df94 )
119
-
120
- 2021-11-04 vaiorabbit <http://twitter.com/vaiorabbit>
121
-
122
- * Bugfix: Generate correct signatures for raymath and rlgl
123
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/d18f3fca30858916546908e40cc2e0cea2be03ca )
124
- * Bugfix: Fixed wrong signature in raymath.rb
125
- * examples/audio_sound_loading.rb: Added
126
- * examples/audio_music_stream.rb: Added
127
-
128
- 2021-11-03 vaiorabbit <http://twitter.com/vaiorabbit>
129
-
130
- * Added raygui wrapper and wrapper generator
131
- * examples/shapes_draw_circle_sector.rb: Added
132
-
133
- 2021-10-31 vaiorabbit <http://twitter.com/vaiorabbit>
134
-
135
- * examples/text_unicode.rb: Added
136
- * examples/textures_bunnymark.rb: Added
137
-
138
- 2021-10-28 vaiorabbit <http://twitter.com/vaiorabbit>
139
-
140
- * examples/core_loading_thread.rb: Added
141
- * examples/bitmap_font.rb and font/VP16Font_XNA.png: Added
142
-
143
- 2021-10-27 vaiorabbit <http://twitter.com/vaiorabbit>
144
-
145
- * examples/models_waving_cubes.rb: Added
146
-
147
- 2021-10-26 vaiorabbit <http://twitter.com/vaiorabbit>
148
-
149
- * examples/models_rlgl_solar_system.rb: Added
150
- * Bugfix: DEG2RAD and RAD2DEG duplication
151
- * examples/models_cubicmap.rb: Added
152
-
153
- 2021-10-25 vaiorabbit <http://twitter.com/vaiorabbit>
154
-
155
- * examples/utf8_font.rb: Added
156
-
157
- 2021-10-24 vaiorabbit <http://twitter.com/vaiorabbit>
158
-
159
- * generator: Add ".by_value" to struct arguments
160
- * generator: Add struct alias hook
161
- * examples: Added
162
- * examples/shapes_basic_shapes.rb: Added
163
- * generator: Now correctly handles variable-length arguments (TextFormat and TraceLog)
164
- * Added helper functions (Color.from_u8, Vector2.create, etc.)
165
- * examples/core_3d_camera_first_person.rb: Added
166
- * generator: Now correctly handles return values
167
- * Bugfix: Removed duplicated enums / Names of some structs must start with capital letter
168
-
169
- 2021-10-23 vaiorabbit <http://twitter.com/vaiorabbit>
170
-
171
- * Experimental raylib header parser
172
-
173
- 2021-10-17 vaiorabbit <http://twitter.com/vaiorabbit>
174
-
175
- * initial commit
1
+ 2022-04-29 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * script/rebuild_libs_windows.cmd: Added
4
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d ) / Updated submodules appropriately
5
+ * [Windows] Updated DLLs with the latest raylib ( https://github.com/raysan5/raylib/commit/5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d ) and raygui ( https://github.com/raysan5/raygui/commit/865bb293764073c01e74314ef647464f1f10fd96 )
6
+ * [macOS] Updated DLLs with the latest raylib
7
+
8
+ 2022-04-24 vaiorabbit <http://twitter.com/vaiorabbit>
9
+
10
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/233cf3970c9148c4963cfdea20e49e761104f9de ) and raygui ( https://github.com/raysan5/raygui/commit/865bb293764073c01e74314ef647464f1f10fd96 )
11
+ * examples/models_mesh_picking.rb: Applied changes done by https://github.com/raysan5/raylib/commit/90fc7c0376f39d7b19d632e1d69dec715ec3f2a8
12
+
13
+ 2022-02-26 vaiorabbit <http://twitter.com/vaiorabbit>
14
+
15
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/ead8003044aab21f8d155b91ec0bce90cd193500 ), raygui ( https://github.com/raysan5/raygui/commit/c8d8fb5a865a6730cec2c609704333577463feb1 ) and Physac ( https://github.com/victorfisac/Physac/commit/c9c6b3e7054d609e93e52e70f17d5b4dd043575d )
16
+ * Fixed incomplete parsing flow
17
+
18
+ 2022-01-20 vaiorabbit <http://twitter.com/vaiorabbit>
19
+
20
+ * examples/core_2d_camera.rb: Added
21
+ * examples/shapes_lines_bezier.rb: Added
22
+
23
+ 2022-01-19 vaiorabbit <http://twitter.com/vaiorabbit>
24
+
25
+ * examples/lissajous_curve.rb: Added
26
+
27
+ 2022-01-17 vaiorabbit <http://twitter.com/vaiorabbit>
28
+
29
+ * raygui: Revert to https://github.com/raysan5/raygui/commit/7a2964302ada73438092d0ad11e54f9f9590547a (See https://github.com/vaiorabbit/raylib-bindings/issues/2 for details)
30
+
31
+ 2022-01-16 vaiorabbit <http://twitter.com/vaiorabbit>
32
+
33
+ * examples/audio_raw_stream.rb: Added
34
+
35
+ 2022-01-15 vaiorabbit <http://twitter.com/vaiorabbit>
36
+
37
+ * raylib_dll/build_raylib_macos.sh: Stop copying symbolic links
38
+
39
+ 2022-01-10 vaiorabbit <http://twitter.com/vaiorabbit>
40
+
41
+ * examples/models_animation.rb: Added
42
+
43
+ 2022-01-08 vaiorabbit <http://twitter.com/vaiorabbit>
44
+
45
+ * examples/raylib_opengl_interop.rb: Use opengl-bindings2
46
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/549ca669aa42462662a610ff240aa4d5736240e5 ) and raygui ( https://github.com/raysan5/raygui/commit/c7eb9268535298ee25be90739c86d1be215f53e5 )
47
+
48
+ 2022-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
49
+
50
+ * raylib-bindings.gemspec: Bump version
51
+
52
+ 2021-12-30 vaiorabbit <http://twitter.com/vaiorabbit>
53
+
54
+ * BoundingBox.create (lib/raylib.rb): Fixed wrong implementation
55
+
56
+ 2021-12-29 vaiorabbit <http://twitter.com/vaiorabbit>
57
+
58
+ * examples/procedural_texture.rb: Added
59
+
60
+ 2021-12-26 vaiorabbit <http://twitter.com/vaiorabbit>
61
+
62
+ * examples/shaders_raymarching.rb: Added
63
+
64
+ 2021-12-24 vaiorabbit <http://twitter.com/vaiorabbit>
65
+
66
+ * examples/text_rectangle_bounds.rb: Added
67
+
68
+ 2021-12-20 vaiorabbit <http://twitter.com/vaiorabbit>
69
+
70
+ * examples/text_draw_3d.rb: Added
71
+
72
+ 2021-12-19 vaiorabbit <http://twitter.com/vaiorabbit>
73
+
74
+ * examples/models_mesh_picking.rb: Added
75
+ * examples/text_font_filters.rb: Added
76
+ * examples/utf8_font.rb: Modified to use texture filter
77
+ * examples/textures_mouse_painting.rb: Added
78
+
79
+ 2021-12-18 vaiorabbit <http://twitter.com/vaiorabbit>
80
+
81
+ * examples/models_mesh_generation.rb: Added
82
+ * examples/utf8_font.rb: Added another font
83
+ * examples/core_3d_split_screen.rb: Added
84
+ * examples/core_world_screen.rb: Added
85
+ * examples/models_yaw_pitch_roll.rb: Added
86
+
87
+ 2021-12-16 vaiorabbit <http://twitter.com/vaiorabbit>
88
+
89
+ * raylib_parser.py: Typo
90
+ * Python cindex reports va_list as int on macOS
91
+ * examples/models_loading_gltf.rb: Added
92
+
93
+ 2021-12-15 vaiorabbit <http://twitter.com/vaiorabbit>
94
+
95
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/0454acaacfaae4a3269d443d3d88045240f738c3 )
96
+ * Added generator scripts for Windows
97
+
98
+ 2021-11-14 vaiorabbit <http://twitter.com/vaiorabbit>
99
+
100
+ * examples/core_storage_values.rb: Added
101
+
102
+ 2021-11-13 vaiorabbit <http://twitter.com/vaiorabbit>
103
+
104
+ * examples/core_drop_files.rb: Added
105
+
106
+ 2021-11-09 vaiorabbit <http://twitter.com/vaiorabbit>
107
+
108
+ * examples/models_first_person_maze.rb: Added
109
+
110
+ 2021-11-08 vaiorabbit <http://twitter.com/vaiorabbit>
111
+
112
+ * examples/raylib_opengl_interop.rb: Added
113
+ * examples/models_geometric_shapes.rb: Added
114
+
115
+ 2021-11-07 vaiorabbit <http://twitter.com/vaiorabbit>
116
+
117
+ * examples/rlgl_compute_shader.rb: Added
118
+ * examples/models_billboard.rb: Added
119
+
120
+ 2021-11-06 vaiorabbit <http://twitter.com/vaiorabbit>
121
+
122
+ * examples/physics_demo.rb: Added
123
+ * examples/textures_background_scrolling.rb: Added
124
+ * Added dll build scripts for Windows
125
+
126
+ 2021-11-05 vaiorabbit <http://twitter.com/vaiorabbit>
127
+
128
+ * examples/models_box_collisions.rb: Added
129
+ * Added physac wrapper and wrapper generator
130
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/2021f09db4df72aea9f963666435bddf0718df94 )
131
+
132
+ 2021-11-04 vaiorabbit <http://twitter.com/vaiorabbit>
133
+
134
+ * Bugfix: Generate correct signatures for raymath and rlgl
135
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/d18f3fca30858916546908e40cc2e0cea2be03ca )
136
+ * Bugfix: Fixed wrong signature in raymath.rb
137
+ * examples/audio_sound_loading.rb: Added
138
+ * examples/audio_music_stream.rb: Added
139
+
140
+ 2021-11-03 vaiorabbit <http://twitter.com/vaiorabbit>
141
+
142
+ * Added raygui wrapper and wrapper generator
143
+ * examples/shapes_draw_circle_sector.rb: Added
144
+
145
+ 2021-10-31 vaiorabbit <http://twitter.com/vaiorabbit>
146
+
147
+ * examples/text_unicode.rb: Added
148
+ * examples/textures_bunnymark.rb: Added
149
+
150
+ 2021-10-28 vaiorabbit <http://twitter.com/vaiorabbit>
151
+
152
+ * examples/core_loading_thread.rb: Added
153
+ * examples/bitmap_font.rb and font/VP16Font_XNA.png: Added
154
+
155
+ 2021-10-27 vaiorabbit <http://twitter.com/vaiorabbit>
156
+
157
+ * examples/models_waving_cubes.rb: Added
158
+
159
+ 2021-10-26 vaiorabbit <http://twitter.com/vaiorabbit>
160
+
161
+ * examples/models_rlgl_solar_system.rb: Added
162
+ * Bugfix: DEG2RAD and RAD2DEG duplication
163
+ * examples/models_cubicmap.rb: Added
164
+
165
+ 2021-10-25 vaiorabbit <http://twitter.com/vaiorabbit>
166
+
167
+ * examples/utf8_font.rb: Added
168
+
169
+ 2021-10-24 vaiorabbit <http://twitter.com/vaiorabbit>
170
+
171
+ * generator: Add ".by_value" to struct arguments
172
+ * generator: Add struct alias hook
173
+ * examples: Added
174
+ * examples/shapes_basic_shapes.rb: Added
175
+ * generator: Now correctly handles variable-length arguments (TextFormat and TraceLog)
176
+ * Added helper functions (Color.from_u8, Vector2.create, etc.)
177
+ * examples/core_3d_camera_first_person.rb: Added
178
+ * generator: Now correctly handles return values
179
+ * Bugfix: Removed duplicated enums / Names of some structs must start with capital letter
180
+
181
+ 2021-10-23 vaiorabbit <http://twitter.com/vaiorabbit>
182
+
183
+ * Experimental raylib header parser
184
+
185
+ 2021-10-17 vaiorabbit <http://twitter.com/vaiorabbit>
186
+
187
+ * initial commit
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -1,83 +1,115 @@
1
- <!-- -*- mode:markdown; coding:utf-8; -*- -->
2
-
3
- # Yet another raylib wrapper for Ruby #
4
-
5
- Provides latest [raylib](https://github.com/raysan5/raylib) API for Ruby
6
-
7
- * Created : 2021-10-17
8
- * Last modified : 2022-02-26
9
-
10
- ## Features ##
11
-
12
- * Generated semi-automatically
13
- * Based on Ruby/FFI
14
- * No need to build C extension library
15
-
16
- ## Prerequisites ##
17
-
18
- * Ruby interpreter
19
- * Tested on:
20
- * [macOS]
21
- * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
22
- * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
23
- * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
24
- * ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x64-mingw-ucrt]
25
- * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
26
-
27
- * Compiler
28
- * Tested on:
29
- * [macOS] clang
30
-
31
- Apple clang version 13.0.0 (clang-1300.0.29.3)
32
- Target: arm64-apple-darwin20.6.0
33
- Thread model: posix
34
- InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
35
-
36
- * [Windows] gcc
37
-
38
- gcc (Rev9, Built by MSYS2 project) 11.2.0
39
-
40
- * CMake https://cmake.org/download/
41
-
42
- ## Limitation ##
43
-
44
- * `SetTraceLogCallback` and `TraceLogCallback` are unusable since Ruby-FFI does not support `:varargs` parameter in callbacks (`Proc`, etc.)
45
- * Ref.: https://ffi.github.io/ruby-ffi-archive/messages/20130214-%5Bruby-ffi%5D%20Re_%20Callback%20Function%20with%20varargs-345.html
46
-
47
- ## License ##
48
-
49
- Shared libraries in `lib` directory are built on top of these products and are available under the terms of these licenses:
50
-
51
- * `libraylib.dylib`, `libraylib.dll`
52
- * raylib ( https://github.com/raysan5/raylib )
53
- * https://github.com/raysan5/raylib/blob/master/LICENSE
54
- * `raygui.dylib`, `raygui.dll`
55
- * raygui ( https://github.com/raysan5/raygui )
56
- * https://github.com/raysan5/raygui/blob/master/LICENSE
57
- * `physac.dylib`, `physac.dll`
58
- * Physac ( https://github.com/victorfisac/Physac )
59
- * https://github.com/victorfisac/Physac/blob/a8a6c864bfc809f8e4b2f88bb916b90d736b3f4a/src/physac.h#L59-L76
60
-
61
- All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
62
-
63
- Ruby-raylib : Yet another raylib wrapper for Ruby
64
- Copyright (c) 2021-2022 vaiorabbit <http://twitter.com/vaiorabbit>
65
-
66
- This software is provided 'as-is', without any express or implied
67
- warranty. In no event will the authors be held liable for any damages
68
- arising from the use of this software.
69
-
70
- Permission is granted to anyone to use this software for any purpose,
71
- including commercial applications, and to alter it and redistribute it
72
- freely, subject to the following restrictions:
73
-
74
- 1. The origin of this software must not be misrepresented; you must not
75
- claim that you wrote the original software. If you use this software
76
- in a product, an acknowledgment in the product documentation would be
77
- appreciated but is not required.
78
-
79
- 2. Altered source versions must be plainly marked as such, and must not be
80
- misrepresented as being the original software.
81
-
82
- 3. This notice may not be removed or altered from any source
83
- distribution.
1
+ <!-- -*- mode:markdown; coding:utf-8; -*- -->
2
+
3
+ # Yet another raylib wrapper for Ruby #
4
+
5
+ * Created : 2021-10-17
6
+ * Last modified : 2022-04-29
7
+
8
+ Provides Ruby bindings for raylib-related libraries including:
9
+
10
+ * [raylib](https://github.com/raysan5/raylib)
11
+ * raylib
12
+ * raymath
13
+ * rlgl
14
+ * [raygui](https://github.com/raysan5/raygui)
15
+ * [Physac](https://github.com/victorfisac/Physac)
16
+
17
+ ## Features ##
18
+
19
+ * Generated semi-automatically
20
+ * Based on Ruby/FFI
21
+ * No need to build C extension library
22
+
23
+ ## Prerequisites ##
24
+
25
+ * Ruby interpreter
26
+ * Tested on:
27
+ * [macOS]
28
+ * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
29
+ * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
30
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
31
+
32
+ * Compiler
33
+ * Tested on:
34
+ * [macOS] clang
35
+
36
+ Apple clang version 13.0.0 (clang-1300.0.29.3)
37
+ Target: arm64-apple-darwin20.6.0
38
+ Thread model: posix
39
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
40
+
41
+ * [Windows] gcc
42
+
43
+ gcc (Rev10, Built by MSYS2 project) 11.2.0
44
+
45
+ * CMake https://cmake.org/download/
46
+
47
+ <details>
48
+ <summary>Older versions</summary>
49
+
50
+ * Ruby interpreter
51
+ * Tested on:
52
+ * [macOS]
53
+ * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
54
+ * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
55
+ * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
56
+ * ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x64-mingw-ucrt]
57
+ * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
58
+
59
+ * Compiler
60
+ * Tested on:
61
+ * [macOS] clang
62
+
63
+ Apple clang version 13.0.0 (clang-1300.0.29.3)
64
+ Target: arm64-apple-darwin20.6.0
65
+ Thread model: posix
66
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
67
+
68
+ * [Windows] gcc
69
+
70
+ gcc (Rev9, Built by MSYS2 project) 11.2.0
71
+
72
+ </details>
73
+
74
+ ## Limitation ##
75
+
76
+ * `SetTraceLogCallback` and `TraceLogCallback` are unusable since Ruby-FFI does not support `:varargs` parameter in callbacks (`Proc`, etc.)
77
+ * Ref.: https://ffi.github.io/ruby-ffi-archive/messages/20130214-%5Bruby-ffi%5D%20Re_%20Callback%20Function%20with%20varargs-345.html
78
+
79
+ ## License ##
80
+
81
+ Shared libraries in `lib` directory are built on top of these products and are available under the terms of these licenses:
82
+
83
+ * `libraylib.dylib`, `libraylib.dll`
84
+ * raylib ( https://github.com/raysan5/raylib )
85
+ * https://github.com/raysan5/raylib/blob/master/LICENSE
86
+ * `raygui.dylib`, `raygui.dll`
87
+ * raygui ( https://github.com/raysan5/raygui )
88
+ * https://github.com/raysan5/raygui/blob/master/LICENSE
89
+ * `physac.dylib`, `physac.dll`
90
+ * Physac ( https://github.com/victorfisac/Physac )
91
+ * https://github.com/victorfisac/Physac/blob/a8a6c864bfc809f8e4b2f88bb916b90d736b3f4a/src/physac.h#L59-L76
92
+
93
+ All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
94
+
95
+ Ruby-raylib : Yet another raylib wrapper for Ruby
96
+ Copyright (c) 2021-2022 vaiorabbit <http://twitter.com/vaiorabbit>
97
+
98
+ This software is provided 'as-is', without any express or implied
99
+ warranty. In no event will the authors be held liable for any damages
100
+ arising from the use of this software.
101
+
102
+ Permission is granted to anyone to use this software for any purpose,
103
+ including commercial applications, and to alter it and redistribute it
104
+ freely, subject to the following restrictions:
105
+
106
+ 1. The origin of this software must not be misrepresented; you must not
107
+ claim that you wrote the original software. If you use this software
108
+ in a product, an acknowledgment in the product documentation would be
109
+ appreciated but is not required.
110
+
111
+ 2. Altered source versions must be plainly marked as such, and must not be
112
+ misrepresented as being the original software.
113
+
114
+ 3. This notice may not be removed or altered from any source
115
+ distribution.
data/lib/libraylib.dll CHANGED
Binary file
data/lib/libraylib.dylib CHANGED
Binary file
data/lib/physac.dll CHANGED
Binary file
data/lib/physac.dylib CHANGED
Binary file