raylib-bindings 0.0.1 → 0.0.2

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: e036ae2e91de703e2fc212088a7856b11660bc8ce11f77bd3a0a72740e014255
4
- data.tar.gz: ae6a555ea7abed386675d56402ea4e862a95f4abae4ed1fd9aead19e7be330b9
3
+ metadata.gz: f0cd840cc50f47aa49f65b47ec9c35e9f6f7648268e2dde03937ec6a75950b97
4
+ data.tar.gz: 4ad3819641669fba5ecffed9f1bd1abc6c725b7de0a780eb1c440c1827f8611f
5
5
  SHA512:
6
- metadata.gz: 22df4ecf798670ecd25ec3b8dd8b117ffc2f4dd0b87b32e1aeb8f3a8a5c74033ef7dc0f57765d383a798fb82d67cb83e70588f465d6ecb01d73d83ecbcefa017
7
- data.tar.gz: ea793e3f209ccf93c58677d781476352e4795ac81359d5bc1435c3b980c618474e88c3796e44fa4861d3579c8a73a4cee414fbeec6f6cacd5f26a6ef737f571b
6
+ metadata.gz: d2b482ba9d41dedec22f5a72e6b0ac78dc6303e013ae30d69a099b92269cea3b19b58704d19175f164590769c0b880b38f432c05405c711b94b9cf21d8b8fcc8
7
+ data.tar.gz: 495ea0e289d317eec38478f9607112858fe7aa45833157907cfaa9fc6caeedfe74f498adeaa655b259b6b2e0d25764d8cf3863eb53debf0ef06f028f7cfdd736
data/ChangeLog CHANGED
@@ -1,95 +1,136 @@
1
- 2021-12-15 vaiorabbit <http://twitter.com/vaiorabbit>
2
-
3
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/0454acaacfaae4a3269d443d3d88045240f738c3 )
4
- * Added generator scripts for Windows
5
-
6
- 2021-11-14 vaiorabbit <http://twitter.com/vaiorabbit>
7
-
8
- * examples/core_storage_values.rb: Added
9
-
10
- 2021-11-13 vaiorabbit <http://twitter.com/vaiorabbit>
11
-
12
- * examples/core_drop_files.rb: Added
13
-
14
- 2021-11-09 vaiorabbit <http://twitter.com/vaiorabbit>
15
-
16
- * examples/models_first_person_maze.rb: Added
17
-
18
- 2021-11-08 vaiorabbit <http://twitter.com/vaiorabbit>
19
-
20
- * examples/raylib_opengl_interop.rb: Added
21
- * examples/models_geometric_shapes.rb: Added
22
-
23
- 2021-11-07 vaiorabbit <http://twitter.com/vaiorabbit>
24
-
25
- * examples/rlgl_compute_shader.rb: Added
26
- * examples/models_billboard.rb: Added
27
-
28
- 2021-11-06 vaiorabbit <http://twitter.com/vaiorabbit>
29
-
30
- * examples/physics_demo.rb: Added
31
- * examples/textures_background_scrolling.rb: Added
32
- * Added dll build scripts for Windows
33
-
34
- 2021-11-05 vaiorabbit <http://twitter.com/vaiorabbit>
35
-
36
- * examples/models_box_collisions.rb: Added
37
- * Added physac wrapper and wrapper generator
38
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/2021f09db4df72aea9f963666435bddf0718df94 )
39
-
40
- 2021-11-04 vaiorabbit <http://twitter.com/vaiorabbit>
41
-
42
- * Bugfix: Generate correct signatures for raymath and rlgl
43
- * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/d18f3fca30858916546908e40cc2e0cea2be03ca )
44
- * Bugfix: Fixed wrong signature in raymath.rb
45
- * examples/audio_sound_loading.rb: Added
46
- * examples/audio_music_stream.rb: Added
47
-
48
- 2021-11-03 vaiorabbit <http://twitter.com/vaiorabbit>
49
-
50
- * Added raygui wrapper and wrapper generator
51
- * examples/shapes_draw_circle_sector.rb: Added
52
-
53
- 2021-10-31 vaiorabbit <http://twitter.com/vaiorabbit>
54
-
55
- * examples/text_unicode.rb: Added
56
- * examples/textures_bunnymark.rb: Added
57
-
58
- 2021-10-28 vaiorabbit <http://twitter.com/vaiorabbit>
59
-
60
- * examples/core_loading_thread.rb: Added
61
- * examples/bitmap_font.rb and font/VP16Font_XNA.png: Added
62
-
63
- 2021-10-27 vaiorabbit <http://twitter.com/vaiorabbit>
64
-
65
- * examples/models_waving_cubes.rb: Added
66
-
67
- 2021-10-26 vaiorabbit <http://twitter.com/vaiorabbit>
68
-
69
- * examples/models_rlgl_solar_system.rb: Added
70
- * Bugfix: DEG2RAD and RAD2DEG duplication
71
- * examples/models_cubicmap.rb: Added
72
-
73
- 2021-10-25 vaiorabbit <http://twitter.com/vaiorabbit>
74
-
75
- * examples/utf8_font.rb: Added
76
-
77
- 2021-10-24 vaiorabbit <http://twitter.com/vaiorabbit>
78
-
79
- * generator: Add ".by_value" to struct arguments
80
- * generator: Add struct alias hook
81
- * examples: Added
82
- * examples/shapes_basic_shapes.rb: Added
83
- * generator: Now correctly handles variable-length arguments (TextFormat and TraceLog)
84
- * Added helper functions (Color.from_u8, Vector2.create, etc.)
85
- * examples/core_3d_camera_first_person.rb: Added
86
- * generator: Now correctly handles return values
87
- * Bugfix: Removed duplicated enums / Names of some structs must start with capital letter
88
-
89
- 2021-10-23 vaiorabbit <http://twitter.com/vaiorabbit>
90
-
91
- * Experimental raylib header parser
92
-
93
- 2021-10-17 vaiorabbit <http://twitter.com/vaiorabbit>
94
-
95
- * initial commit
1
+ 2021-12-30 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * BoundingBox.create (lib/raylib.rb): Fixed wrong implementation
4
+
5
+ 2021-12-29 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * examples/procedural_texture.rb: Added
8
+
9
+ 2021-12-26 vaiorabbit <http://twitter.com/vaiorabbit>
10
+
11
+ * examples/shaders_raymarching.rb: Added
12
+
13
+ 2021-12-24 vaiorabbit <http://twitter.com/vaiorabbit>
14
+
15
+ * examples/text_rectangle_bounds.rb: Added
16
+
17
+ 2021-12-20 vaiorabbit <http://twitter.com/vaiorabbit>
18
+
19
+ * examples/text_draw_3d.rb: Added
20
+
21
+ 2021-12-19 vaiorabbit <http://twitter.com/vaiorabbit>
22
+
23
+ * examples/models_mesh_picking.rb: Added
24
+ * examples/text_font_filters.rb: Added
25
+ * examples/utf8_font.rb: Modified to use texture filter
26
+ * examples/textures_mouse_painting.rb: Added
27
+
28
+ 2021-12-18 vaiorabbit <http://twitter.com/vaiorabbit>
29
+
30
+ * examples/models_mesh_generation.rb: Added
31
+ * examples/utf8_font.rb: Added another font
32
+ * examples/core_3d_split_screen.rb: Added
33
+ * examples/core_world_screen.rb: Added
34
+ * examples/models_yaw_pitch_roll.rb: Added
35
+
36
+ 2021-12-16 vaiorabbit <http://twitter.com/vaiorabbit>
37
+
38
+ * raylib_parser.py: Typo
39
+ * Python cindex reports va_list as int on macOS
40
+ * examples/models_loading_gltf.rb: Added
41
+
42
+ 2021-12-15 vaiorabbit <http://twitter.com/vaiorabbit>
43
+
44
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/0454acaacfaae4a3269d443d3d88045240f738c3 )
45
+ * Added generator scripts for Windows
46
+
47
+ 2021-11-14 vaiorabbit <http://twitter.com/vaiorabbit>
48
+
49
+ * examples/core_storage_values.rb: Added
50
+
51
+ 2021-11-13 vaiorabbit <http://twitter.com/vaiorabbit>
52
+
53
+ * examples/core_drop_files.rb: Added
54
+
55
+ 2021-11-09 vaiorabbit <http://twitter.com/vaiorabbit>
56
+
57
+ * examples/models_first_person_maze.rb: Added
58
+
59
+ 2021-11-08 vaiorabbit <http://twitter.com/vaiorabbit>
60
+
61
+ * examples/raylib_opengl_interop.rb: Added
62
+ * examples/models_geometric_shapes.rb: Added
63
+
64
+ 2021-11-07 vaiorabbit <http://twitter.com/vaiorabbit>
65
+
66
+ * examples/rlgl_compute_shader.rb: Added
67
+ * examples/models_billboard.rb: Added
68
+
69
+ 2021-11-06 vaiorabbit <http://twitter.com/vaiorabbit>
70
+
71
+ * examples/physics_demo.rb: Added
72
+ * examples/textures_background_scrolling.rb: Added
73
+ * Added dll build scripts for Windows
74
+
75
+ 2021-11-05 vaiorabbit <http://twitter.com/vaiorabbit>
76
+
77
+ * examples/models_box_collisions.rb: Added
78
+ * Added physac wrapper and wrapper generator
79
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/2021f09db4df72aea9f963666435bddf0718df94 )
80
+
81
+ 2021-11-04 vaiorabbit <http://twitter.com/vaiorabbit>
82
+
83
+ * Bugfix: Generate correct signatures for raymath and rlgl
84
+ * Pulled latest raylib ( https://github.com/raysan5/raylib/commit/d18f3fca30858916546908e40cc2e0cea2be03ca )
85
+ * Bugfix: Fixed wrong signature in raymath.rb
86
+ * examples/audio_sound_loading.rb: Added
87
+ * examples/audio_music_stream.rb: Added
88
+
89
+ 2021-11-03 vaiorabbit <http://twitter.com/vaiorabbit>
90
+
91
+ * Added raygui wrapper and wrapper generator
92
+ * examples/shapes_draw_circle_sector.rb: Added
93
+
94
+ 2021-10-31 vaiorabbit <http://twitter.com/vaiorabbit>
95
+
96
+ * examples/text_unicode.rb: Added
97
+ * examples/textures_bunnymark.rb: Added
98
+
99
+ 2021-10-28 vaiorabbit <http://twitter.com/vaiorabbit>
100
+
101
+ * examples/core_loading_thread.rb: Added
102
+ * examples/bitmap_font.rb and font/VP16Font_XNA.png: Added
103
+
104
+ 2021-10-27 vaiorabbit <http://twitter.com/vaiorabbit>
105
+
106
+ * examples/models_waving_cubes.rb: Added
107
+
108
+ 2021-10-26 vaiorabbit <http://twitter.com/vaiorabbit>
109
+
110
+ * examples/models_rlgl_solar_system.rb: Added
111
+ * Bugfix: DEG2RAD and RAD2DEG duplication
112
+ * examples/models_cubicmap.rb: Added
113
+
114
+ 2021-10-25 vaiorabbit <http://twitter.com/vaiorabbit>
115
+
116
+ * examples/utf8_font.rb: Added
117
+
118
+ 2021-10-24 vaiorabbit <http://twitter.com/vaiorabbit>
119
+
120
+ * generator: Add ".by_value" to struct arguments
121
+ * generator: Add struct alias hook
122
+ * examples: Added
123
+ * examples/shapes_basic_shapes.rb: Added
124
+ * generator: Now correctly handles variable-length arguments (TextFormat and TraceLog)
125
+ * Added helper functions (Color.from_u8, Vector2.create, etc.)
126
+ * examples/core_3d_camera_first_person.rb: Added
127
+ * generator: Now correctly handles return values
128
+ * Bugfix: Removed duplicated enums / Names of some structs must start with capital letter
129
+
130
+ 2021-10-23 vaiorabbit <http://twitter.com/vaiorabbit>
131
+
132
+ * Experimental raylib header parser
133
+
134
+ 2021-10-17 vaiorabbit <http://twitter.com/vaiorabbit>
135
+
136
+ * initial commit
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -1,76 +1,82 @@
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 : 2021-12-15
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.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
22
- * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
23
- * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
24
-
25
- * Compiler
26
- * Tested on:
27
- * [macOS] clang
28
-
29
- Apple clang version 13.0.0 (clang-1300.0.29.3)
30
- Target: arm64-apple-darwin20.6.0
31
- Thread model: posix
32
- InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
33
-
34
- * [Windows] gcc
35
-
36
- gcc (Rev5, Built by MSYS2 project) 10.3.0
37
-
38
- * CMake https://cmake.org/download/
39
-
40
- ## License ##
41
-
42
- Shared libraries in `lib` directory are built on top of these products and are available under the terms of these licenses:
43
-
44
- * `libraylib.dylib`, `libraylib.dll`
45
- * raylib ( https://github.com/raysan5/raylib )
46
- * https://github.com/raysan5/raylib/blob/master/LICENSE
47
- * `raygui.dylib`, `raygui.dll`
48
- * raygui ( https://github.com/raysan5/raygui )
49
- * https://github.com/raysan5/raygui/blob/master/LICENSE
50
- * `physac.dylib`, `physac.dll`
51
- * Physac ( https://github.com/victorfisac/Physac )
52
- * https://github.com/victorfisac/Physac/blob/a8a6c864bfc809f8e4b2f88bb916b90d736b3f4a/src/physac.h#L59-L76
53
-
54
- All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
55
-
56
- Ruby-raylib : Yet another raylib wrapper for Ruby
57
- Copyright (c) 2021 vaiorabbit <http://twitter.com/vaiorabbit>
58
-
59
- This software is provided 'as-is', without any express or implied
60
- warranty. In no event will the authors be held liable for any damages
61
- arising from the use of this software.
62
-
63
- Permission is granted to anyone to use this software for any purpose,
64
- including commercial applications, and to alter it and redistribute it
65
- freely, subject to the following restrictions:
66
-
67
- 1. The origin of this software must not be misrepresented; you must not
68
- claim that you wrote the original software. If you use this software
69
- in a product, an acknowledgment in the product documentation would be
70
- appreciated but is not required.
71
-
72
- 2. Altered source versions must be plainly marked as such, and must not be
73
- misrepresented as being the original software.
74
-
75
- 3. This notice may not be removed or altered from any source
76
- distribution.
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 : 2021-12-30
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.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
25
+
26
+ * Compiler
27
+ * Tested on:
28
+ * [macOS] clang
29
+
30
+ Apple clang version 13.0.0 (clang-1300.0.29.3)
31
+ Target: arm64-apple-darwin20.6.0
32
+ Thread model: posix
33
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
34
+
35
+ * [Windows] gcc
36
+
37
+ gcc (Rev5, Built by MSYS2 project) 10.3.0
38
+
39
+ * CMake https://cmake.org/download/
40
+
41
+ ## Limitation ##
42
+
43
+ * `SetTraceLogCallback` and `TraceLogCallback` are unusable since Ruby-FFI does not support `:varargs` parameter in callbacks (`Proc`, etc.)
44
+ * Ref.: https://ffi.github.io/ruby-ffi-archive/messages/20130214-%5Bruby-ffi%5D%20Re_%20Callback%20Function%20with%20varargs-345.html
45
+
46
+ ## License ##
47
+
48
+ Shared libraries in `lib` directory are built on top of these products and are available under the terms of these licenses:
49
+
50
+ * `libraylib.dylib`, `libraylib.dll`
51
+ * raylib ( https://github.com/raysan5/raylib )
52
+ * https://github.com/raysan5/raylib/blob/master/LICENSE
53
+ * `raygui.dylib`, `raygui.dll`
54
+ * raygui ( https://github.com/raysan5/raygui )
55
+ * https://github.com/raysan5/raygui/blob/master/LICENSE
56
+ * `physac.dylib`, `physac.dll`
57
+ * Physac ( https://github.com/victorfisac/Physac )
58
+ * https://github.com/victorfisac/Physac/blob/a8a6c864bfc809f8e4b2f88bb916b90d736b3f4a/src/physac.h#L59-L76
59
+
60
+ All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
61
+
62
+ Ruby-raylib : Yet another raylib wrapper for Ruby
63
+ Copyright (c) 2021 vaiorabbit <http://twitter.com/vaiorabbit>
64
+
65
+ This software is provided 'as-is', without any express or implied
66
+ warranty. In no event will the authors be held liable for any damages
67
+ arising from the use of this software.
68
+
69
+ Permission is granted to anyone to use this software for any purpose,
70
+ including commercial applications, and to alter it and redistribute it
71
+ freely, subject to the following restrictions:
72
+
73
+ 1. The origin of this software must not be misrepresented; you must not
74
+ claim that you wrote the original software. If you use this software
75
+ in a product, an acknowledgment in the product documentation would be
76
+ appreciated but is not required.
77
+
78
+ 2. Altered source versions must be plainly marked as such, and must not be
79
+ misrepresented as being the original software.
80
+
81
+ 3. This notice may not be removed or altered from any source
82
+ distribution.
Binary file
@@ -0,0 +1 @@
1
+ libraylib.4.0.0.dylib
@@ -0,0 +1 @@
1
+ libraylib.400.dylib
data/lib/physac.dylib CHANGED
File without changes