raylib-bindings 0.5.8pre1-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: edf530dbb534e1d3e93cfcb5a6f3e59073304738c195da0a0ac7849b06c43d4f
4
+ data.tar.gz: f9cdab79026c8f8e715c8da07ea239ba8b42e50dab0b6d5f96b2025a1851c664
5
+ SHA512:
6
+ metadata.gz: a7c2d34afb2b9522b1bea456e33c35dcaf1cdbab59f536c27dd2dd868b9e6b2fd00db7dbf32006cb769958963c56d0eec83b43f041b044f9973c1099c32d54c0
7
+ data.tar.gz: 5959b803dcc5ac308e0ec5ec99353031671d4334232c82a8f6677a7578c990af0a8b4cf00cfcdfb06e2f369dcf70695b8428e8783d16c157ce203cdae3dbe8d5
data/ChangeLog ADDED
@@ -0,0 +1,399 @@
1
+ 2023-11-11 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * examples/shapes_splines_drawing.rb : Added
4
+
5
+ 2023-11-10 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * examples/text_font_sdf.rb : Added
8
+
9
+ 2023-11-09 vaiorabbit <http://twitter.com/vaiorabbit>
10
+
11
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/21dc42d2ad02cafed83cd39afd7305212787c114 ) and raygui ( https://github.com/raysan5/raygui/commit/a2726c8600058cf2b1e6a2660d6d26312b0df424 )
12
+
13
+ 2023-10-28 vaiorabbit <http://twitter.com/vaiorabbit>
14
+
15
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/b46505b13d4a85e26d1d5b6f9fc2a4264bf8b02f ) and raygui ( https://github.com/raysan5/raygui/commit/499e8bf7b1d9b0a92af8f685e646bc61f13c6dff )
16
+ * examples/core_automation_events.rb : Added
17
+
18
+ 2023-10-08 vaiorabbit <http://twitter.com/vaiorabbit>
19
+
20
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/97c2744a16ad7e6cf6b546a7a6416ec6b21e3a6c ) and raygui ( https://github.com/raysan5/raygui/commit/85a5c104f509b183c8cc7db0d90c2ab7a2b198c8)
21
+
22
+ 2023-09-30 vaiorabbit <http://twitter.com/vaiorabbit>
23
+
24
+ * Use Ruby-FFI 1.16 ( https://github.com/ffi/ffi )
25
+
26
+ 2023-09-23 vaiorabbit <http://twitter.com/vaiorabbit>
27
+
28
+ * examples/raylib_with_imgui.rb : Added
29
+
30
+ 2023-09-16 vaiorabbit <http://twitter.com/vaiorabbit>
31
+
32
+ * lib/raygui_helper.rb: Added more APIs
33
+ * examples/gui_controls.rb: Added
34
+ * examples/shaders_basic_lighting.rb: Added
35
+
36
+ 2023-09-12 vaiorabbit <http://twitter.com/vaiorabbit>
37
+
38
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/2e7a7877a51ca33487642bd7ed0367b017b54486 ) and raygui ( https://github.com/raysan5/raygui/commit/1c3305031d2dcab2fbd3c7d7ded8b7aee1738908)
39
+
40
+ 2023-09-09 vaiorabbit <http://twitter.com/vaiorabbit>
41
+
42
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/37f60e75e72eebd5ff687b8857bf9043d291b0df ) and raygui ( https://github.com/raysan5/raygui/commit/0fccdc61fbd787fdfa9e254fd99def2cdb34fb10 )
43
+ * examples/template.rb: now calls UpdateCamera only when orbital model is on
44
+
45
+ 2023-09-02 vaiorabbit <http://twitter.com/vaiorabbit>
46
+
47
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/ec6d3bb688ae8c137152eca7cdef9885badd9bee ) and raygui ( https://github.com/raysan5/raygui/commit/12fc56e5e1fe0888a4c73b98890914ca3806a8b4 )
48
+ * Linux (Cross): changed host OS (Ubuntu 22.04 LTS) and cross compiler version
49
+
50
+ 2023-08-10 vaiorabbit <http://twitter.com/vaiorabbit>
51
+
52
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/0959f6ebf69f44d5bb0225cc94fd187ebedf8be5 ) and raygui ( https://github.com/raysan5/raygui/commit/41417db52d951bb08273c892d3e3db3723f1083a )
53
+ * lib/raylib_helper.rb: Added several initialization helper for Camera3D, Camera2D and BoundingBox
54
+ * examples: Fixed broken examples / Adoped new initialization helper APIs / Use accessor helpers for better readability
55
+
56
+ 2023-07-29 vaiorabbit <http://twitter.com/vaiorabbit>
57
+
58
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/962030e70ad3dfcce5d4642ad65890fde93ad117 ) and raygui ( https://github.com/raysan5/raygui/commit/36365199b11dd967e7147e64c85ccfda8c5064d1 )
59
+
60
+ 2023-07-16 vaiorabbit <http://twitter.com/vaiorabbit>
61
+
62
+ * examples/textures_image_rotate.rb: Added
63
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/22895ba14fab982ca74ec1526b48b924d1174e60 ) and raygui ( https://github.com/raysan5/raygui/commit/848569ce3399a8f6fe00091f968808f3ab042c4b )
64
+
65
+ 2023-06-26 vaiorabbit <http://twitter.com/vaiorabbit>
66
+
67
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/0c126af7171e51fff9f94c4f2e498f43f60d617b ) and raygui ( https://github.com/raysan5/raygui/commit/fa1c93cdcc6df2cd45f5a1d9249291465a24cd8c )
68
+
69
+ 2023-06-10 vaiorabbit <http://twitter.com/vaiorabbit>
70
+
71
+ * lib/raygui_main.rb: Renamed from 'raygui.rb'
72
+ * lib/raygui_helper.rb: Minimal raygui wrapper to cope with raygui-4.0 API changes
73
+
74
+ 2023-05-27 vaiorabbit <http://twitter.com/vaiorabbit>
75
+
76
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/aad51d47048f9eb5c13bbbd65dc5cd4d37aa68e5 ) and raygui ( https://github.com/raysan5/raygui/commit/ce358972efcc9c3c85f9806104f525210da08787 )
77
+
78
+ 2023-05-22 vaiorabbit <http://twitter.com/vaiorabbit>
79
+
80
+ * examples/textures_image_generation.rb: Added
81
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/a4a6d4da8a26d131bc3f3e643f6fe51de281d15f ) and raygui ( https://github.com/raysan5/raygui/commit/135718ee04d57493039fd7b8fb1d73b49f3ec1ea )
82
+
83
+ 2023-05-14 vaiorabbit <http://twitter.com/vaiorabbit>
84
+
85
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/5978358e5877b0033584334c5bf6ec7d8cf22ae8 ) and raygui ( https://github.com/raysan5/raygui/commit/aa81c167f10707ea173ea1190eda18e57d841b8f )
86
+
87
+ 2023-04-15 vaiorabbit <http://twitter.com/vaiorabbit>
88
+
89
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/709b14180a6ed0379c134bd86612994cb2f36f80 ) and raygui ( https://github.com/raysan5/raygui/commit/5d7bc6b70adc195ccf3b556a23a1e2103f88ec7a )
90
+
91
+ 2023-03-19 vaiorabbit <http://twitter.com/vaiorabbit>
92
+
93
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/2e02474b7aac2e6e3fe680a3aa996973585eeaad ) and raygui ( https://github.com/raysan5/raygui/commit/5d1de95ba2d16c44c4e777873a0e39f75dab8ffd )
94
+
95
+ 2023-03-09 vaiorabbit <http://twitter.com/vaiorabbit>
96
+
97
+ * generator: Now generates binding code for rcamera.h
98
+ * example: Removed SetCameaMode
99
+
100
+ 2023-02-26 vaiorabbit <http://twitter.com/vaiorabbit>
101
+
102
+ * generator/raylib_generator.py: Emits accessors for struct members
103
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/7fd2bf1a32c3ed7c932fe7c020858ecadb3b2056 ) and raygui ( https://github.com/raysan5/raygui/commit/c02a5883e0fa0bf78dbd65e70c530080deac5056 )
104
+
105
+ 2023-02-25 vaiorabbit <http://twitter.com/vaiorabbit>
106
+
107
+ * generator/raylib_generator.py: Emits appropriate spaces to align comments
108
+
109
+ 2023-02-18 vaiorabbit <http://twitter.com/vaiorabbit>
110
+
111
+ * examples/generate_heightmap_obj.rb: Added
112
+
113
+ 2023-02-15 vaiorabbit <http://twitter.com/vaiorabbit>
114
+
115
+ * examples/models_heightmap.rb: Added
116
+
117
+ 2023-02-04 vaiorabbit <http://twitter.com/vaiorabbit>
118
+
119
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/7914332c40ee811ad08a90e4eb7d40c2d1e81f4e ) and raygui ( https://github.com/raysan5/raygui/commit/cec2de3440eac0ad0020d3ce3d546706c0749335 )
120
+
121
+ 2023-01-28 vaiorabbit <http://twitter.com/vaiorabbit>
122
+
123
+ * Added Linux x86_64 binaries
124
+ * Added GitHub Actions scripts
125
+
126
+ 2023-01-23 vaiorabbit <http://twitter.com/vaiorabbit>
127
+
128
+ * examples/util/setup_dll.rb: Fixed
129
+
130
+ 2023-01-21 vaiorabbit <http://twitter.com/vaiorabbit>
131
+
132
+ * Added Linux x86_64 binaries
133
+
134
+ 2023-01-03 vaiorabbit <http://twitter.com/vaiorabbit>
135
+
136
+ * examples/models_loading_gltf.rb: Added glTF animation playback
137
+
138
+ 2023-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
139
+
140
+ * examples/reversi_board.rb: Added
141
+
142
+ 2022-12-31 vaiorabbit <http://twitter.com/vaiorabbit>
143
+
144
+ * examples/game_of_life_simple.rb: Added
145
+
146
+ 2022-12-30 vaiorabbit <http://twitter.com/vaiorabbit>
147
+
148
+ * generator: Now generates binding code for config.h
149
+
150
+ 2022-12-29 vaiorabbit <http://twitter.com/vaiorabbit>
151
+
152
+ * generator: Now generates enum descriptions
153
+ * Fixed several codes according to Rubocop warnings
154
+ * lib/raylib_helper.rb: Added several helper functions/classes
155
+
156
+ 2022-12-25 vaiorabbit <http://twitter.com/vaiorabbit>
157
+
158
+ * Converted DrawModelEx into a wrapper function of rbDrawModelEx to avoid Matrix problem found in models_animation sample
159
+ * Attach functions with an explicit name - Ref.: https://www.rubydoc.info/github/ffi/ffi/FFI%2FLibrary:attach_function
160
+ * setup_xxx_symbols: name, retval and arguments of one function are now packed into one line
161
+ * generator: Now imports descriptions from original API schema
162
+ * Generated with the latest raylib ( https://github.com/raysan5/raylib/commit/03cc540d5f1df71bd7ad8118d0e11b492fa5cc18 )
163
+
164
+ 2022-12-24 vaiorabbit <http://twitter.com/vaiorabbit>
165
+
166
+ * Experimental Linux (Chromebook) support
167
+
168
+ 2022-12-10 vaiorabbit <http://twitter.com/vaiorabbit>
169
+
170
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/2c9d116a5ce835328dc3267313f1b34b2e7ad8c9 ) / and raygui ( https://github.com/raysan5/raygui/commit/64179558e425f6e05054d2a70eb12530e0fec103 )
171
+ * [Windows] Updated DLLs with the latest raylib
172
+ * examples/rlgl_compute_shader.rb: Fixed API usage
173
+
174
+ 2022-10-23 vaiorabbit <http://twitter.com/vaiorabbit>
175
+
176
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/483f10397ee37ba551e57bad563a846f2dc5bb5b ) / and raygui ( https://github.com/raysan5/raygui/commit/d981abebd8f36dea9a297b2158b529ad8bf76a69a )
177
+ * [Windows] Updated DLLs with the latest raylib
178
+
179
+ 2022-10-16 vaiorabbit <http://twitter.com/vaiorabbit>
180
+
181
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/c5e89241c515d12a739a0d0bacb6a05395bf2a95 ) / and raygui ( https://github.com/raysan5/raygui/commit/98df231227d87dbf5954520169af29e610cd6a87 )
182
+ * examples/models_loading_m3d.rb: Added
183
+ * examples/models_loading_gltf.rb: Fixed model paths
184
+ * [Windows] Updated DLLs with the latest raylib
185
+
186
+ 2022-08-28 vaiorabbit <http://twitter.com/vaiorabbit>
187
+
188
+ * examples/template.rb: Added demonstration program included in gem package
189
+ * lib/raylib.rb: Added method 'Raylib.template' to generate template code
190
+
191
+ 2022-08-12 vaiorabbit <http://twitter.com/vaiorabbit>
192
+
193
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/d658e6772d75bce52fbe46cc9789f0b33500bc0f ) and added raylib v4.2.0 features ( https://github.com/raysan5/raylib/releases/tag/4.2.0 )
194
+
195
+ 2022-07-18 vaiorabbit <http://twitter.com/vaiorabbit>
196
+
197
+ * examples/core_storage_values.rb: Removed ( see https://github.com/raysan5/raylib/commit/e722a8dbef59cf0ecccf141af61e1e1c8a24849f )
198
+ * examples/core_drop_files.rb: Updated ( see https://github.com/raysan5/raylib/commit/b8f67c628553cb9199f51efc9b20eb5991d58e8f )
199
+ * Updated DLLs
200
+ * examples/textures_sprite_anim.rb: Added
201
+ * examples/textures_gif_player.rb: Added
202
+
203
+ 2022-07-17 vaiorabbit <http://twitter.com/vaiorabbit>
204
+
205
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/49a534b5d478fd2f195380143ded4f0ab764c228 ) / and raygui ( https://github.com/raysan5/raygui/commit/9c826f213f5b287159a0b0e1a0670a27c09dcc7e )
206
+ * physac_dll now refers new repository ( https://github.com/raysan5/physac )
207
+
208
+ 2022-06-08 vaiorabbit <http://twitter.com/vaiorabbit>
209
+
210
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/70ec71a373db426685590127122e77bfd66cbf69 ) / and raygui ( https://github.com/raysan5/raygui/commit/47269f30ce55f0399096d1bee4188b8b8c0d7186 )
211
+ * Updated submodules appropriately
212
+
213
+ 2022-04-29 vaiorabbit <http://twitter.com/vaiorabbit>
214
+
215
+ * script/rebuild_libs_windows.cmd: Added
216
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d ) / Updated submodules appropriately
217
+ * [Windows] Updated DLLs with the latest raylib ( https://github.com/raysan5/raylib/commit/5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d ) and raygui ( https://github.com/raysan5/raygui/commit/865bb293764073c01e74314ef647464f1f10fd96 )
218
+ * [macOS] Updated DLLs with the latest raylib
219
+
220
+ 2022-04-24 vaiorabbit <http://twitter.com/vaiorabbit>
221
+
222
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/233cf3970c9148c4963cfdea20e49e761104f9de ) and raygui ( https://github.com/raysan5/raygui/commit/865bb293764073c01e74314ef647464f1f10fd96 )
223
+ * examples/models_mesh_picking.rb: Applied changes done by https://github.com/raysan5/raylib/commit/90fc7c0376f39d7b19d632e1d69dec715ec3f2a8
224
+
225
+ 2022-02-26 vaiorabbit <http://twitter.com/vaiorabbit>
226
+
227
+ * 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 )
228
+ * Fixed incomplete parsing flow
229
+
230
+ 2022-01-20 vaiorabbit <http://twitter.com/vaiorabbit>
231
+
232
+ * examples/core_2d_camera.rb: Added
233
+ * examples/shapes_lines_bezier.rb: Added
234
+
235
+ 2022-01-19 vaiorabbit <http://twitter.com/vaiorabbit>
236
+
237
+ * examples/lissajous_curve.rb: Added
238
+
239
+ 2022-01-17 vaiorabbit <http://twitter.com/vaiorabbit>
240
+
241
+ * raygui: Revert to https://github.com/raysan5/raygui/commit/7a2964302ada73438092d0ad11e54f9f9590547a (See https://github.com/vaiorabbit/raylib-bindings/issues/2 for details)
242
+
243
+ 2022-01-16 vaiorabbit <http://twitter.com/vaiorabbit>
244
+
245
+ * examples/audio_raw_stream.rb: Added
246
+
247
+ 2022-01-15 vaiorabbit <http://twitter.com/vaiorabbit>
248
+
249
+ * raylib_dll/build_raylib_macos.sh: Stop copying symbolic links
250
+
251
+ 2022-01-10 vaiorabbit <http://twitter.com/vaiorabbit>
252
+
253
+ * examples/models_animation.rb: Added
254
+
255
+ 2022-01-08 vaiorabbit <http://twitter.com/vaiorabbit>
256
+
257
+ * examples/raylib_opengl_interop.rb: Use opengl-bindings2
258
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/549ca669aa42462662a610ff240aa4d5736240e5 ) and raygui ( https://github.com/raysan5/raygui/commit/c7eb9268535298ee25be90739c86d1be215f53e5 )
259
+
260
+ 2022-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
261
+
262
+ * raylib-bindings.gemspec: Bump version
263
+
264
+ 2021-12-30 vaiorabbit <http://twitter.com/vaiorabbit>
265
+
266
+ * BoundingBox.create (lib/raylib.rb): Fixed wrong implementation
267
+
268
+ 2021-12-29 vaiorabbit <http://twitter.com/vaiorabbit>
269
+
270
+ * examples/procedural_texture.rb: Added
271
+
272
+ 2021-12-26 vaiorabbit <http://twitter.com/vaiorabbit>
273
+
274
+ * examples/shaders_raymarching.rb: Added
275
+
276
+ 2021-12-24 vaiorabbit <http://twitter.com/vaiorabbit>
277
+
278
+ * examples/text_rectangle_bounds.rb: Added
279
+
280
+ 2021-12-20 vaiorabbit <http://twitter.com/vaiorabbit>
281
+
282
+ * examples/text_draw_3d.rb: Added
283
+
284
+ 2021-12-19 vaiorabbit <http://twitter.com/vaiorabbit>
285
+
286
+ * examples/models_mesh_picking.rb: Added
287
+ * examples/text_font_filters.rb: Added
288
+ * examples/utf8_font.rb: Modified to use texture filter
289
+ * examples/textures_mouse_painting.rb: Added
290
+
291
+ 2021-12-18 vaiorabbit <http://twitter.com/vaiorabbit>
292
+
293
+ * examples/models_mesh_generation.rb: Added
294
+ * examples/utf8_font.rb: Added another font
295
+ * examples/core_3d_split_screen.rb: Added
296
+ * examples/core_world_screen.rb: Added
297
+ * examples/models_yaw_pitch_roll.rb: Added
298
+
299
+ 2021-12-16 vaiorabbit <http://twitter.com/vaiorabbit>
300
+
301
+ * raylib_parser.py: Typo
302
+ * Python cindex reports va_list as int on macOS
303
+ * examples/models_loading_gltf.rb: Added
304
+
305
+ 2021-12-15 vaiorabbit <http://twitter.com/vaiorabbit>
306
+
307
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/0454acaacfaae4a3269d443d3d88045240f738c3 )
308
+ * Added generator scripts for Windows
309
+
310
+ 2021-11-14 vaiorabbit <http://twitter.com/vaiorabbit>
311
+
312
+ * examples/core_storage_values.rb: Added
313
+
314
+ 2021-11-13 vaiorabbit <http://twitter.com/vaiorabbit>
315
+
316
+ * examples/core_drop_files.rb: Added
317
+
318
+ 2021-11-09 vaiorabbit <http://twitter.com/vaiorabbit>
319
+
320
+ * examples/models_first_person_maze.rb: Added
321
+
322
+ 2021-11-08 vaiorabbit <http://twitter.com/vaiorabbit>
323
+
324
+ * examples/raylib_opengl_interop.rb: Added
325
+ * examples/models_geometric_shapes.rb: Added
326
+
327
+ 2021-11-07 vaiorabbit <http://twitter.com/vaiorabbit>
328
+
329
+ * examples/rlgl_compute_shader.rb: Added
330
+ * examples/models_billboard.rb: Added
331
+
332
+ 2021-11-06 vaiorabbit <http://twitter.com/vaiorabbit>
333
+
334
+ * examples/physics_demo.rb: Added
335
+ * examples/textures_background_scrolling.rb: Added
336
+ * Added dll build scripts for Windows
337
+
338
+ 2021-11-05 vaiorabbit <http://twitter.com/vaiorabbit>
339
+
340
+ * examples/models_box_collisions.rb: Added
341
+ * Added physac wrapper and wrapper generator
342
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/2021f09db4df72aea9f963666435bddf0718df94 )
343
+
344
+ 2021-11-04 vaiorabbit <http://twitter.com/vaiorabbit>
345
+
346
+ * Bugfix: Generate correct signatures for raymath and rlgl
347
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/d18f3fca30858916546908e40cc2e0cea2be03ca )
348
+ * Bugfix: Fixed wrong signature in raymath.rb
349
+ * examples/audio_sound_loading.rb: Added
350
+ * examples/audio_music_stream.rb: Added
351
+
352
+ 2021-11-03 vaiorabbit <http://twitter.com/vaiorabbit>
353
+
354
+ * Added raygui wrapper and wrapper generator
355
+ * examples/shapes_draw_circle_sector.rb: Added
356
+
357
+ 2021-10-31 vaiorabbit <http://twitter.com/vaiorabbit>
358
+
359
+ * examples/text_unicode.rb: Added
360
+ * examples/textures_bunnymark.rb: Added
361
+
362
+ 2021-10-28 vaiorabbit <http://twitter.com/vaiorabbit>
363
+
364
+ * examples/core_loading_thread.rb: Added
365
+ * examples/bitmap_font.rb and font/VP16Font_XNA.png: Added
366
+
367
+ 2021-10-27 vaiorabbit <http://twitter.com/vaiorabbit>
368
+
369
+ * examples/models_waving_cubes.rb: Added
370
+
371
+ 2021-10-26 vaiorabbit <http://twitter.com/vaiorabbit>
372
+
373
+ * examples/models_rlgl_solar_system.rb: Added
374
+ * Bugfix: DEG2RAD and RAD2DEG duplication
375
+ * examples/models_cubicmap.rb: Added
376
+
377
+ 2021-10-25 vaiorabbit <http://twitter.com/vaiorabbit>
378
+
379
+ * examples/utf8_font.rb: Added
380
+
381
+ 2021-10-24 vaiorabbit <http://twitter.com/vaiorabbit>
382
+
383
+ * generator: Add ".by_value" to struct arguments
384
+ * generator: Add struct alias hook
385
+ * examples: Added
386
+ * examples/shapes_basic_shapes.rb: Added
387
+ * generator: Now correctly handles variable-length arguments (TextFormat and TraceLog)
388
+ * Added helper functions (Color.from_u8, Vector2.create, etc.)
389
+ * examples/core_3d_camera_first_person.rb: Added
390
+ * generator: Now correctly handles return values
391
+ * Bugfix: Removed duplicated enums / Names of some structs must start with capital letter
392
+
393
+ 2021-10-23 vaiorabbit <http://twitter.com/vaiorabbit>
394
+
395
+ * Experimental raylib header parser
396
+
397
+ 2021-10-17 vaiorabbit <http://twitter.com/vaiorabbit>
398
+
399
+ * initial commit
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ Ruby-raylib : Yet another raylib wrapper for Ruby
2
+ Copyright (c) 2021-2023 vaiorabbit <http://twitter.com/vaiorabbit>
3
+
4
+ This software is provided 'as-is', without any express or implied
5
+ warranty. In no event will the authors be held liable for any damages
6
+ arising from the use of this software.
7
+
8
+ Permission is granted to anyone to use this software for any purpose,
9
+ including commercial applications, and to alter it and redistribute it
10
+ freely, subject to the following restrictions:
11
+
12
+ 1. The origin of this software must not be misrepresented; you must not
13
+ claim that you wrote the original software. If you use this software
14
+ in a product, an acknowledgment in the product documentation would be
15
+ appreciated but is not required.
16
+
17
+ 2. Altered source versions must be plainly marked as such, and must not be
18
+ misrepresented as being the original software.
19
+
20
+ 3. This notice may not be removed or altered from any source
21
+ distribution.
data/README.md ADDED
@@ -0,0 +1,176 @@
1
+ <!-- -*- mode:markdown; coding:utf-8; -*- -->
2
+
3
+ # Yet another raylib wrapper for Ruby #
4
+
5
+ * Created : 2021-10-17
6
+ * Last modified : 2023-11-11
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/raysan5/physac)
16
+
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">
18
+
19
+ ## Features ##
20
+
21
+ * Generated semi-automatically
22
+ * Based on Ruby/FFI ( https://github.com/ffi/ffi )
23
+ * Pre-built binaries are inside:
24
+ * Windows (x86_64)
25
+ * macOS (x86_64, ARM64)
26
+ * Linux (x86_64 WSL, ARM64 Chromebook)
27
+
28
+ ## Quick Start ##
29
+
30
+ ```
31
+ D:\> gem install raylib-bindings
32
+ Fetching raylib-bindings-...
33
+ ...
34
+ 1 gem installed
35
+
36
+ D:\> ruby -r raylib -e 'Raylib.template'
37
+ [Info] Raylib.template : C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/raylib-bindings-0.0.11/examples/template.rb => d://template.rb
38
+ [Info] Raylib.template : Done
39
+
40
+ D:\> ruby template.rb
41
+ ```
42
+
43
+
44
+ <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/template_screenshot.png" width="400">
45
+
46
+ ## Prerequisites ##
47
+
48
+ * Ruby interpreter
49
+ * Tested on:
50
+ * [macOS] https://rvm.io
51
+ * ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
52
+ * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
53
+ * ruby 3.2.0 (2022-12-25 revision a528908271) [x64-mingw-ucrt]
54
+ * [Linux/x86_64 WSL] https://github.com/rvm/ubuntu_rvm
55
+ * ruby 3.2.0preview1 (2022-04-03 master f801386f0c) [x86_64-linux]
56
+ * [Linux/ARM64 Chromebook] https://github.com/rvm/ubuntu_rvm
57
+ * ruby 3.2.0 (2022-12-25 revision a528908271) [aarch64-linux]
58
+
59
+ * If you need to build DLLs/shared libralies for your own runtime envrioenment (Linux, etc.):
60
+ * CMake https://cmake.org/download/
61
+ * C Compiler
62
+ * Tested compilers:
63
+ * [macOS] clang
64
+
65
+ $ clang --version
66
+ Apple clang version 14.0.0 (clang-1400.0.29.202)
67
+ Target: arm64-apple-darwin22.2.0
68
+ Thread model: posix
69
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
70
+
71
+ * [Windows] gcc
72
+
73
+ gcc (Rev7, Built by MSYS2 project) 12.2.0
74
+
75
+ * [Linux] gcc, clang
76
+
77
+ (x86_64) Ubuntu clang version 14.0.0-1ubuntu1
78
+ (arm64) aarch64-linux-gnu-g++ ( https://packages.ubuntu.com/focal/g++-aarch64-linux-gnu )
79
+
80
+ <details>
81
+ <summary>Older versions</summary>
82
+
83
+ * Ruby interpreter
84
+ * Tested on:
85
+ * [macOS]
86
+ * ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin21]
87
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
88
+ * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
89
+ * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
90
+ * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
91
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
92
+ * ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x64-mingw-ucrt]
93
+ * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
94
+
95
+ * Compiler
96
+ * Tested on:
97
+ * [macOS] clang
98
+
99
+ $ clang --version
100
+ Apple clang version 13.1.6 (clang-1316.0.21.2.5)
101
+ Target: arm64-apple-darwin21.5.0
102
+ Thread model: posix
103
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
104
+
105
+ $ clang --version
106
+ Apple clang version 13.1.6 (clang-1316.0.21.2.3)
107
+ Target: arm64-apple-darwin21.5.0
108
+ Thread model: posix
109
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
110
+
111
+ Apple clang version 13.0.0 (clang-1300.0.29.3)
112
+ Target: arm64-apple-darwin20.6.0
113
+ Thread model: posix
114
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
115
+
116
+ * [Windows] gcc
117
+
118
+ gcc (Rev9, Built by MSYS2 project) 11.2.0
119
+ gcc (Rev10, Built by MSYS2 project) 11.2.0
120
+
121
+ </details>
122
+
123
+ ## Projects ##
124
+
125
+ See the projects below to learn how to use this library:
126
+
127
+ * Whac-a-Mole! : Ruby raylib bindings demo
128
+ * <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings-whacamole/main/doc/screenshot_00.png" width="300"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings-whacamole/main/doc/screenshot_01.png" width="300">
129
+ * <https://github.com/vaiorabbit/raylib-bindings-whacamole>
130
+
131
+ * 1D dot eater : Ruby raylib bindings demo
132
+ * <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings-pacone/main/doc/screenshot_00.png" width="600">
133
+ * <https://github.com/vaiorabbit/raylib-bindings-pacone>
134
+
135
+ ## Limitation ##
136
+
137
+ * `SetTraceLogCallback` and `TraceLogCallback` are unusable since Ruby-FFI does not support `:varargs` parameter in callbacks (`Proc`, etc.)
138
+ * Ref.: https://ffi.github.io/ruby-ffi-archive/messages/20130214-%5Bruby-ffi%5D%20Re_%20Callback%20Function%20with%20varargs-345.html
139
+
140
+ ## License ##
141
+
142
+ Shared libraries in `lib` directory are built on top of these products and are available under the terms of these licenses:
143
+
144
+ * `libraylib.dylib`, `libraylib.dll`, `libraylib.aarch64.so`, `libraylib.x86_64.so`
145
+ * raylib ( https://github.com/raysan5/raylib )
146
+ * zlib License https://github.com/raysan5/raylib/blob/master/LICENSE
147
+ * `raygui.dylib`, `raygui.dll`, `raygui.aarch64.so`, `raygui.x86_64.so`
148
+ * raygui ( https://github.com/raysan5/raygui )
149
+ * zlib License https://github.com/raysan5/raygui/blob/master/LICENSE
150
+ * `physac.dylib`, `physac.dll`, `physac.aarch64.so` `physac.x86_64.so`
151
+ * Physac ( https://github.com/raysan5/physac )
152
+ * LICENSE: zlib/libpng https://github.com/raysan5/physac/blob/4a8e17f263fb8e1150b3fbafc96f880c7d7a4833/src/physac.h#L51-L68
153
+
154
+ All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
155
+
156
+ Ruby-raylib : Yet another raylib wrapper for Ruby
157
+ Copyright (c) 2021-2023 vaiorabbit <http://twitter.com/vaiorabbit>
158
+
159
+ This software is provided 'as-is', without any express or implied
160
+ warranty. In no event will the authors be held liable for any damages
161
+ arising from the use of this software.
162
+
163
+ Permission is granted to anyone to use this software for any purpose,
164
+ including commercial applications, and to alter it and redistribute it
165
+ freely, subject to the following restrictions:
166
+
167
+ 1. The origin of this software must not be misrepresented; you must not
168
+ claim that you wrote the original software. If you use this software
169
+ in a product, an acknowledgment in the product documentation would be
170
+ appreciated but is not required.
171
+
172
+ 2. Altered source versions must be plainly marked as such, and must not be
173
+ misrepresented as being the original software.
174
+
175
+ 3. This notice may not be removed or altered from any source
176
+ distribution.