raylib-bindings 0.0.9 → 0.0.10

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: 0ae2ed8883b7178ae1ba22db3f15ebad4a38c43958211feb7af947c2ed66869f
4
- data.tar.gz: e8cec377cb402a7e4ef9b6625628fc13ccac1c2d82b46a9285094ceac8c06a11
3
+ metadata.gz: 18da3c5e628cf174b00d0b1d9ca43760977bba609be9d1c3e24b47116ccd0932
4
+ data.tar.gz: 8ee6a922f417da13d0d3a90fce8f0e8b69cbd663fe37ea891450c510e93d777d
5
5
  SHA512:
6
- metadata.gz: a283d8d05d6b3be982147569bca5384b46d192a3232131b6385f4596bcb285be8c07553646261180ea85437bfa3978ff3557b56adf95a26526fb1925e895a53d
7
- data.tar.gz: 86be92151b1a124a90f82471dce30e97d621681fe6c97991cda889be13944d5e3d68a6052f7acd1e229f2f72586d2442550b68be45a6c8d5132d10b55adf3f58
6
+ metadata.gz: 37618bade3d5505ccffefabfa9755e08e8c96fee57bab31d69d070a9e4dcd71d57b210e33a55d17b021f15c0a5620192bd9f552bf9d8a52f9f5b77458702a75c
7
+ data.tar.gz: f742654e0673044f987011a6f09a7f858e55bb0f0385832aca844d2592de9ac76e2a596fe0a0750ff828c5f40a89dd06663f718309ce06768d161bbd6a61e53e
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2022-08-12 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * 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 )
4
+
1
5
  2022-07-18 vaiorabbit <http://twitter.com/vaiorabbit>
2
6
 
3
7
  * examples/core_storage_values.rb: Removed ( see https://github.com/raysan5/raylib/commit/e722a8dbef59cf0ecccf141af61e1e1c8a24849f )
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  # Yet another raylib wrapper for Ruby #
4
4
 
5
5
  * Created : 2021-10-17
6
- * Last modified : 2022-07-18
6
+ * Last modified : 2022-08-12
7
7
 
8
8
  Provides Ruby bindings for raylib-related libraries including:
9
9
 
@@ -25,7 +25,7 @@ Provides Ruby bindings for raylib-related libraries including:
25
25
  * Ruby interpreter
26
26
  * Tested on:
27
27
  * [macOS]
28
- * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
28
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
29
29
  * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
30
30
  * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
31
31
 
@@ -34,7 +34,7 @@ Provides Ruby bindings for raylib-related libraries including:
34
34
  * [macOS] clang
35
35
 
36
36
  $ clang --version
37
- Apple clang version 13.1.6 (clang-1316.0.21.2.3)
37
+ Apple clang version 13.1.6 (clang-1316.0.21.2.5)
38
38
  Target: arm64-apple-darwin21.5.0
39
39
  Thread model: posix
40
40
  InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
@@ -61,6 +61,12 @@ Provides Ruby bindings for raylib-related libraries including:
61
61
  * Tested on:
62
62
  * [macOS] clang
63
63
 
64
+ $ clang --version
65
+ Apple clang version 13.1.6 (clang-1316.0.21.2.3)
66
+ Target: arm64-apple-darwin21.5.0
67
+ Thread model: posix
68
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
69
+
64
70
  Apple clang version 13.0.0 (clang-1300.0.29.3)
65
71
  Target: arm64-apple-darwin20.6.0
66
72
  Thread model: posix
@@ -88,8 +94,8 @@ Shared libraries in `lib` directory are built on top of these products and are a
88
94
  * raygui ( https://github.com/raysan5/raygui )
89
95
  * https://github.com/raysan5/raygui/blob/master/LICENSE
90
96
  * `physac.dylib`, `physac.dll`
91
- * Physac ( https://github.com/victorfisac/Physac )
92
- * https://github.com/victorfisac/Physac/blob/a8a6c864bfc809f8e4b2f88bb916b90d736b3f4a/src/physac.h#L59-L76
97
+ * Physac ( https://github.com/raysan5/physac )
98
+ * https://github.com/raysan5/physac/blob/4a8e17f263fb8e1150b3fbafc96f880c7d7a4833/src/physac.h#L51-L68
93
99
 
94
100
  All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
95
101
 
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
data/lib/physac.rb CHANGED
@@ -13,6 +13,7 @@ module Raylib
13
13
  PHYSAC_MAX_BODIES = 64
14
14
  PHYSAC_MAX_MANIFOLDS = 4096
15
15
  PHYSAC_MAX_VERTICES = 24
16
+ PHYSAC_DEFAULT_CIRCLE_VERTICES = 24
16
17
  PHYSAC_COLLISION_ITERATIONS = 100
17
18
  PHYSAC_PENETRATION_ALLOWANCE = 0.05
18
19
  PHYSAC_PENETRATION_CORRECTION = 0.4
data/lib/raygui.dll CHANGED
Binary file
data/lib/raygui.dylib CHANGED
Binary file
data/lib/raygui.rb CHANGED
@@ -10,7 +10,7 @@ module Raylib
10
10
  extend FFI::Library
11
11
  # Define/Macro
12
12
 
13
- RAYGUI_VERSION = "3.2-dev"
13
+ RAYGUI_VERSION = "3.2"
14
14
  SCROLLBAR_LEFT_SIDE = 0
15
15
  SCROLLBAR_RIGHT_SIDE = 1
16
16
 
data/lib/raylib_main.rb CHANGED
@@ -10,7 +10,7 @@ module Raylib
10
10
  extend FFI::Library
11
11
  # Define/Macro
12
12
 
13
- RAYLIB_VERSION = "4.2-dev"
13
+ RAYLIB_VERSION = "4.2"
14
14
  DEG2RAD = Math::PI / 180.0
15
15
  RAD2DEG = 180.0 / Math::PI
16
16
 
data/lib/raymath.rb CHANGED
@@ -91,6 +91,7 @@ module Raylib
91
91
  :Vector3OrthoNormalize,
92
92
  :Vector3Transform,
93
93
  :Vector3RotateByQuaternion,
94
+ :Vector3RotateByAxisAngle,
94
95
  :Vector3Lerp,
95
96
  :Vector3Reflect,
96
97
  :Vector3Min,
@@ -203,6 +204,7 @@ module Raylib
203
204
  :Vector3OrthoNormalize => [:pointer, :pointer],
204
205
  :Vector3Transform => [Vector3.by_value, Matrix.by_value],
205
206
  :Vector3RotateByQuaternion => [Vector3.by_value, Quaternion.by_value],
207
+ :Vector3RotateByAxisAngle => [Vector3.by_value, Vector3.by_value, :float],
206
208
  :Vector3Lerp => [Vector3.by_value, Vector3.by_value, :float],
207
209
  :Vector3Reflect => [Vector3.by_value, Vector3.by_value],
208
210
  :Vector3Min => [Vector3.by_value, Vector3.by_value],
@@ -315,6 +317,7 @@ module Raylib
315
317
  :Vector3OrthoNormalize => :void,
316
318
  :Vector3Transform => Vector3.by_value,
317
319
  :Vector3RotateByQuaternion => Vector3.by_value,
320
+ :Vector3RotateByAxisAngle => Vector3.by_value,
318
321
  :Vector3Lerp => Vector3.by_value,
319
322
  :Vector3Reflect => Vector3.by_value,
320
323
  :Vector3Min => Vector3.by_value,
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.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-18 00:00:00.000000000 Z
11
+ date: 2022-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi