raylib-bindings 0.7.0-aarch64-linux → 0.7.2-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da46865198fe416cdeccb2c9c9b96d5094f9ce39e0d560a6db1d5d6212bc878f
4
- data.tar.gz: d314ee512cc4e903107f1be7edf962c5c9b2bc8618b758648f0fa3b64f9ec548
3
+ metadata.gz: 5309bb966984c317c32dce3618ff0a5d9c5fd37640f546b0cbf0c18135aec820
4
+ data.tar.gz: 8e1f95ed34050eb39c468e53875d9965eb32a4ea18b9fbb37ae4ca70b7643800
5
5
  SHA512:
6
- metadata.gz: 5752c140e57a779931c9053b5a48c90252d8987e7a4c122f1d16de6e26036a89a0d11c5646cc062a310966ba94c3d87bf3e4f4ac46db392695688ddd73b85324
7
- data.tar.gz: 8b22607835a9becda47139b676eac5825014fff696ff5d1a58348616610b570fdd8542f4a369695a0c3bcee7d39ca0fa2b36db9b798ea32a69892ff779f3f618
6
+ metadata.gz: 8e853b1bba21f066f1cb43115a14d297e16150330e7598e5a1ad683511341b5991a29214e849fc05c81d65ce80604f07b5a5e23ed6b9f563a21e86113b28db86
7
+ data.tar.gz: 58fa23c332b6671609547492e0d882dc1278503ba0c28f07c752f92f34c305b212eaf50cf2602d203bd2c339814a79602b138db2c92db5245eab034104a198b1
data/ChangeLog CHANGED
@@ -1,3 +1,32 @@
1
+ 2024-04-06 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/414229bcf93816daaa253a82cd54fbd7b18e6449 ) and raygui ( https://github.com/raysan5/raygui/commit/0a9a9f897a16968444e10fea4fbac33ba1d5d640 )
4
+
5
+ 2024-03-31 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * examples/textures_bunnymark_plain.rb : Renamed from textures_bunnymark.rb
8
+ * examples/textures_bunnymark_optimized.rb : Added
9
+
10
+ 2024-03-24 vaiorabbit <http://twitter.com/vaiorabbit>
11
+
12
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/35252fceefdeb7b0920d9c1513efb4b5c05633dc ) and raygui ( https://github.com/raysan5/raygui/commit/9060e3bf33795dad4fdb4f60585b07901ffa5dee )
13
+
14
+ 2024-03-10 vaiorabbit <http://twitter.com/vaiorabbit>
15
+
16
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/f072497551d9f03b5fbded289f8af021c103a8c0) and raygui ( https://github.com/raysan5/raygui/commit/623bc61f29839d451061252e1cc93edb013c2f8c )
17
+
18
+ 2024-03-02 vaiorabbit <http://twitter.com/vaiorabbit>
19
+
20
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/25caf14be8d0284aceaa0de28753b3012e71b7bb )
21
+
22
+ 2024-02-25 vaiorabbit <http://twitter.com/vaiorabbit>
23
+
24
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/2a774a88f5532908e09b15602d1482be96470f7f ) and raygui ( https://github.com/raysan5/raygui/commit/bc67f42209cc32965c7d1c00028e3ed0c4158659 )
25
+
26
+ 2024-02-18 vaiorabbit <http://twitter.com/vaiorabbit>
27
+
28
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/c251e9309e066b9d2aa5ecbd15bcee45b9bef528 ) and raygui ( https://github.com/raysan5/raygui/commit/a9e5e900586cc264d5af5c88552b66bafe9970f5 )
29
+
1
30
  2024-02-03 vaiorabbit <http://twitter.com/vaiorabbit>
2
31
 
3
32
  * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/29ff658d9223068378269e4a705811f085fafdf4 ) and raygui ( https://github.com/raysan5/raygui/commit/58411f4cceb8ae82933f2001461db9940278fdeb )
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 : 2024-02-03
6
+ * Last modified : 2024-04-06
7
7
 
8
8
  Provides Ruby bindings for raylib-related libraries including:
9
9
 
data/lib/config.rb CHANGED
@@ -34,6 +34,7 @@ module Raylib
34
34
  MAX_GAMEPADS = 4 # Maximum number of gamepads supported
35
35
  MAX_GAMEPAD_AXIS = 8 # Maximum number of axis supported (per gamepad)
36
36
  MAX_GAMEPAD_BUTTONS = 32 # Maximum number of buttons supported (per gamepad)
37
+ MAX_GAMEPAD_VIBRATION_TIME = 2.0 # Maximum vibration time in seconds
37
38
  MAX_TOUCH_POINTS = 8 # Maximum number of touch points supported
38
39
  MAX_KEY_PRESSED_QUEUE = 16 # Maximum number of keys in the key input queue
39
40
  MAX_CHAR_PRESSED_QUEUE = 16 # Maximum number of characters in the char input queue
@@ -73,6 +74,7 @@ module Raylib
73
74
  SUPPORT_DEFAULT_FONT = 1
74
75
  SUPPORT_FILEFORMAT_FNT = 1
75
76
  SUPPORT_FILEFORMAT_TTF = 1
77
+ SUPPORT_FILEFORMAT_BDF = 1
76
78
  SUPPORT_TEXT_MANIPULATION = 1
77
79
  SUPPORT_FONT_ATLAS_WHITE_REC = 1
78
80
  MAX_TEXT_BUFFER_LENGTH = 1024 # Size of internal static buffers used on some functions:
Binary file
Binary file
Binary file
data/lib/raygui_main.rb CHANGED
@@ -374,9 +374,9 @@ module Raylib
374
374
  ICON_FOLDER = 217
375
375
  ICON_FILE = 218
376
376
  ICON_SAND_TIMER = 219
377
- ICON_220 = 220
378
- ICON_221 = 221
379
- ICON_222 = 222
377
+ ICON_WARNING = 220
378
+ ICON_HELP_BOX = 221
379
+ ICON_INFO_BOX = 222
380
380
  ICON_223 = 223
381
381
  ICON_224 = 224
382
382
  ICON_225 = 225
data/lib/raylib_main.rb CHANGED
@@ -193,9 +193,9 @@ module Raylib
193
193
  GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3 # Gamepad left DPAD down button
194
194
  GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4 # Gamepad left DPAD left button
195
195
  GAMEPAD_BUTTON_RIGHT_FACE_UP = 5 # Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)
196
- GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 # Gamepad right button right (i.e. PS3: Square, Xbox: X)
196
+ GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6 # Gamepad right button right (i.e. PS3: Circle, Xbox: B)
197
197
  GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7 # Gamepad right button down (i.e. PS3: Cross, Xbox: A)
198
- GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8 # Gamepad right button left (i.e. PS3: Circle, Xbox: B)
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
201
  GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11 # Gamepad top/back trigger right (one), it could be a trailing button
@@ -1607,24 +1607,21 @@ module Raylib
1607
1607
  # @return [void]
1608
1608
  [:UnloadShader, :UnloadShader, [Shader.by_value], :void],
1609
1609
 
1610
- # @!method GetMouseRay(mousePosition, camera)
1611
- # GetMouseRay : Get a ray trace from mouse position
1612
- # @param mousePosition [Vector2]
1610
+ # @!method GetScreenToWorldRay(position, camera)
1611
+ # GetScreenToWorldRay : Get a ray trace from screen position (i.e mouse)
1612
+ # @param position [Vector2]
1613
1613
  # @param camera [Camera]
1614
1614
  # @return [Ray]
1615
- [:GetMouseRay, :GetMouseRay, [Vector2.by_value, Camera.by_value], Ray.by_value],
1615
+ [:GetScreenToWorldRay, :GetScreenToWorldRay, [Vector2.by_value, Camera.by_value], Ray.by_value],
1616
1616
 
1617
- # @!method GetCameraMatrix(camera)
1618
- # GetCameraMatrix : Get camera transform matrix (view matrix)
1617
+ # @!method GetScreenToWorldRayEx(position, camera, width, height)
1618
+ # GetScreenToWorldRayEx : Get a ray trace from screen position (i.e mouse) in a viewport
1619
+ # @param position [Vector2]
1619
1620
  # @param camera [Camera]
1620
- # @return [Matrix]
1621
- [:GetCameraMatrix, :GetCameraMatrix, [Camera.by_value], Matrix.by_value],
1622
-
1623
- # @!method GetCameraMatrix2D(camera)
1624
- # GetCameraMatrix2D : Get camera 2d transform matrix
1625
- # @param camera [Camera2D]
1626
- # @return [Matrix]
1627
- [:GetCameraMatrix2D, :GetCameraMatrix2D, [Camera2D.by_value], Matrix.by_value],
1621
+ # @param width [int]
1622
+ # @param height [int]
1623
+ # @return [Ray]
1624
+ [:GetScreenToWorldRayEx, :GetScreenToWorldRayEx, [Vector2.by_value, Camera.by_value, :int, :int], Ray.by_value],
1628
1625
 
1629
1626
  # @!method GetWorldToScreen(position, camera)
1630
1627
  # GetWorldToScreen : Get the screen space position for a 3d world space position
@@ -1633,13 +1630,6 @@ module Raylib
1633
1630
  # @return [Vector2]
1634
1631
  [:GetWorldToScreen, :GetWorldToScreen, [Vector3.by_value, Camera.by_value], Vector2.by_value],
1635
1632
 
1636
- # @!method GetScreenToWorld2D(position, camera)
1637
- # GetScreenToWorld2D : Get the world space position for a 2d camera screen space position
1638
- # @param position [Vector2]
1639
- # @param camera [Camera2D]
1640
- # @return [Vector2]
1641
- [:GetScreenToWorld2D, :GetScreenToWorld2D, [Vector2.by_value, Camera2D.by_value], Vector2.by_value],
1642
-
1643
1633
  # @!method GetWorldToScreenEx(position, camera, width, height)
1644
1634
  # GetWorldToScreenEx : Get size position for a 3d world space position
1645
1635
  # @param position [Vector3]
@@ -1656,6 +1646,25 @@ module Raylib
1656
1646
  # @return [Vector2]
1657
1647
  [:GetWorldToScreen2D, :GetWorldToScreen2D, [Vector2.by_value, Camera2D.by_value], Vector2.by_value],
1658
1648
 
1649
+ # @!method GetScreenToWorld2D(position, camera)
1650
+ # GetScreenToWorld2D : Get the world space position for a 2d camera screen space position
1651
+ # @param position [Vector2]
1652
+ # @param camera [Camera2D]
1653
+ # @return [Vector2]
1654
+ [:GetScreenToWorld2D, :GetScreenToWorld2D, [Vector2.by_value, Camera2D.by_value], Vector2.by_value],
1655
+
1656
+ # @!method GetCameraMatrix(camera)
1657
+ # GetCameraMatrix : Get camera transform matrix (view matrix)
1658
+ # @param camera [Camera]
1659
+ # @return [Matrix]
1660
+ [:GetCameraMatrix, :GetCameraMatrix, [Camera.by_value], Matrix.by_value],
1661
+
1662
+ # @!method GetCameraMatrix2D(camera)
1663
+ # GetCameraMatrix2D : Get camera 2d transform matrix
1664
+ # @param camera [Camera2D]
1665
+ # @return [Matrix]
1666
+ [:GetCameraMatrix2D, :GetCameraMatrix2D, [Camera2D.by_value], Matrix.by_value],
1667
+
1659
1668
  # @!method SetTargetFPS(fps)
1660
1669
  # SetTargetFPS : Set target FPS (maximum)
1661
1670
  # @param fps [int]
@@ -2156,6 +2165,14 @@ module Raylib
2156
2165
  # @return [int]
2157
2166
  [:SetGamepadMappings, :SetGamepadMappings, [:pointer], :int],
2158
2167
 
2168
+ # @!method SetGamepadVibration(gamepad, leftMotor, rightMotor)
2169
+ # SetGamepadVibration : Set gamepad vibration for both motors
2170
+ # @param gamepad [int]
2171
+ # @param leftMotor [float]
2172
+ # @param rightMotor [float]
2173
+ # @return [void]
2174
+ [:SetGamepadVibration, :SetGamepadVibration, [:int, :float, :float], :void],
2175
+
2159
2176
  # @!method IsMouseButtonPressed(button)
2160
2177
  # IsMouseButtonPressed : Check if a mouse button has been pressed once
2161
2178
  # @param button [int]
@@ -3624,6 +3641,13 @@ module Raylib
3624
3641
  # @return [void]
3625
3642
  [:DrawTextureNPatch, :DrawTextureNPatch, [Texture2D.by_value, NPatchInfo.by_value, Rectangle.by_value, Vector2.by_value, :float, Color.by_value], :void],
3626
3643
 
3644
+ # @!method ColorIsEqual(col1, col2)
3645
+ # ColorIsEqual : Check if two colors are equal
3646
+ # @param col1 [Color]
3647
+ # @param col2 [Color]
3648
+ # @return [bool]
3649
+ [:ColorIsEqual, :ColorIsEqual, [Color.by_value, Color.by_value], :bool],
3650
+
3627
3651
  # @!method Fade(color, alpha)
3628
3652
  # Fade : Get color with alpha applied, alpha goes from 0.0f to 1.0f
3629
3653
  # @param color [Color]
@@ -3632,7 +3656,7 @@ module Raylib
3632
3656
  [:Fade, :Fade, [Color.by_value, :float], Color.by_value],
3633
3657
 
3634
3658
  # @!method ColorToInt(color)
3635
- # ColorToInt : Get hexadecimal value for a Color
3659
+ # ColorToInt : Get hexadecimal value for a Color (0xRRGGBBAA)
3636
3660
  # @param color [Color]
3637
3661
  # @return [int]
3638
3662
  [:ColorToInt, :ColorToInt, [Color.by_value], :int],
@@ -5091,7 +5115,7 @@ module Raylib
5091
5115
  [:SetAudioStreamCallback, :SetAudioStreamCallback, [AudioStream.by_value, :AudioCallback], :void],
5092
5116
 
5093
5117
  # @!method AttachAudioStreamProcessor(stream, processor)
5094
- # AttachAudioStreamProcessor : Attach audio stream processor to stream, receives the samples as <float>s
5118
+ # AttachAudioStreamProcessor : Attach audio stream processor to stream, receives the samples as 'float'
5095
5119
  # @param stream [AudioStream]
5096
5120
  # @param processor [AudioCallback]
5097
5121
  # @return [void]
@@ -5105,7 +5129,7 @@ module Raylib
5105
5129
  [:DetachAudioStreamProcessor, :DetachAudioStreamProcessor, [AudioStream.by_value, :AudioCallback], :void],
5106
5130
 
5107
5131
  # @!method AttachAudioMixedProcessor(processor)
5108
- # AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s
5132
+ # AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'
5109
5133
  # @param processor [AudioCallback]
5110
5134
  # @return [void]
5111
5135
  [:AttachAudioMixedProcessor, :AttachAudioMixedProcessor, [:AudioCallback], :void],
data/lib/raymath.rb CHANGED
@@ -230,6 +230,20 @@ module Raylib
230
230
  # @return [Vector2]
231
231
  [:Vector2Reflect, :Vector2Reflect, [Vector2.by_value, Vector2.by_value], Vector2.by_value],
232
232
 
233
+ # @!method Vector2Min(v1, v2)
234
+ # Vector2Min
235
+ # @param v1 [Vector2]
236
+ # @param v2 [Vector2]
237
+ # @return [Vector2]
238
+ [:Vector2Min, :Vector2Min, [Vector2.by_value, Vector2.by_value], Vector2.by_value],
239
+
240
+ # @!method Vector2Max(v1, v2)
241
+ # Vector2Max
242
+ # @param v1 [Vector2]
243
+ # @param v2 [Vector2]
244
+ # @return [Vector2]
245
+ [:Vector2Max, :Vector2Max, [Vector2.by_value, Vector2.by_value], Vector2.by_value],
246
+
233
247
  # @!method Vector2Rotate(v, angle)
234
248
  # Vector2Rotate
235
249
  # @param v [Vector2]
@@ -274,6 +288,14 @@ module Raylib
274
288
  # @return [int]
275
289
  [:Vector2Equals, :Vector2Equals, [Vector2.by_value, Vector2.by_value], :int],
276
290
 
291
+ # @!method Vector2Refract(v, n, r)
292
+ # Vector2Refract
293
+ # @param v [Vector2]
294
+ # @param n [Vector2]
295
+ # @param r [float]
296
+ # @return [Vector2]
297
+ [:Vector2Refract, :Vector2Refract, [Vector2.by_value, Vector2.by_value, :float], Vector2.by_value],
298
+
277
299
  # @!method Vector3Zero()
278
300
  # Vector3Zero
279
301
  # @return [Vector3]
@@ -441,6 +463,14 @@ module Raylib
441
463
  # @return [Vector3]
442
464
  [:Vector3RotateByAxisAngle, :Vector3RotateByAxisAngle, [Vector3.by_value, Vector3.by_value, :float], Vector3.by_value],
443
465
 
466
+ # @!method Vector3MoveTowards(v, target, maxDistance)
467
+ # Vector3MoveTowards
468
+ # @param v [Vector3]
469
+ # @param target [Vector3]
470
+ # @param maxDistance [float]
471
+ # @return [Vector3]
472
+ [:Vector3MoveTowards, :Vector3MoveTowards, [Vector3.by_value, Vector3.by_value, :float], Vector3.by_value],
473
+
444
474
  # @!method Vector3Lerp(v1, v2, amount)
445
475
  # Vector3Lerp
446
476
  # @param v1 [Vector3]
@@ -530,6 +560,153 @@ module Raylib
530
560
  # @return [Vector3]
531
561
  [:Vector3Refract, :Vector3Refract, [Vector3.by_value, Vector3.by_value, :float], Vector3.by_value],
532
562
 
563
+ # @!method Vector4Zero()
564
+ # Vector4Zero
565
+ # @return [Vector4]
566
+ [:Vector4Zero, :Vector4Zero, [], Vector4.by_value],
567
+
568
+ # @!method Vector4One()
569
+ # Vector4One
570
+ # @return [Vector4]
571
+ [:Vector4One, :Vector4One, [], Vector4.by_value],
572
+
573
+ # @!method Vector4Add(v1, v2)
574
+ # Vector4Add
575
+ # @param v1 [Vector4]
576
+ # @param v2 [Vector4]
577
+ # @return [Vector4]
578
+ [:Vector4Add, :Vector4Add, [Vector4.by_value, Vector4.by_value], Vector4.by_value],
579
+
580
+ # @!method Vector4AddValue(v, add)
581
+ # Vector4AddValue
582
+ # @param v [Vector4]
583
+ # @param add [float]
584
+ # @return [Vector4]
585
+ [:Vector4AddValue, :Vector4AddValue, [Vector4.by_value, :float], Vector4.by_value],
586
+
587
+ # @!method Vector4Subtract(v1, v2)
588
+ # Vector4Subtract
589
+ # @param v1 [Vector4]
590
+ # @param v2 [Vector4]
591
+ # @return [Vector4]
592
+ [:Vector4Subtract, :Vector4Subtract, [Vector4.by_value, Vector4.by_value], Vector4.by_value],
593
+
594
+ # @!method Vector4SubtractValue(v, add)
595
+ # Vector4SubtractValue
596
+ # @param v [Vector4]
597
+ # @param add [float]
598
+ # @return [Vector4]
599
+ [:Vector4SubtractValue, :Vector4SubtractValue, [Vector4.by_value, :float], Vector4.by_value],
600
+
601
+ # @!method Vector4Length(v)
602
+ # Vector4Length
603
+ # @param v [Vector4]
604
+ # @return [float]
605
+ [:Vector4Length, :Vector4Length, [Vector4.by_value], :float],
606
+
607
+ # @!method Vector4LengthSqr(v)
608
+ # Vector4LengthSqr
609
+ # @param v [Vector4]
610
+ # @return [float]
611
+ [:Vector4LengthSqr, :Vector4LengthSqr, [Vector4.by_value], :float],
612
+
613
+ # @!method Vector4DotProduct(v1, v2)
614
+ # Vector4DotProduct
615
+ # @param v1 [Vector4]
616
+ # @param v2 [Vector4]
617
+ # @return [float]
618
+ [:Vector4DotProduct, :Vector4DotProduct, [Vector4.by_value, Vector4.by_value], :float],
619
+
620
+ # @!method Vector4Distance(v1, v2)
621
+ # Vector4Distance
622
+ # @param v1 [Vector4]
623
+ # @param v2 [Vector4]
624
+ # @return [float]
625
+ [:Vector4Distance, :Vector4Distance, [Vector4.by_value, Vector4.by_value], :float],
626
+
627
+ # @!method Vector4DistanceSqr(v1, v2)
628
+ # Vector4DistanceSqr
629
+ # @param v1 [Vector4]
630
+ # @param v2 [Vector4]
631
+ # @return [float]
632
+ [:Vector4DistanceSqr, :Vector4DistanceSqr, [Vector4.by_value, Vector4.by_value], :float],
633
+
634
+ # @!method Vector4Scale(v, scale)
635
+ # Vector4Scale
636
+ # @param v [Vector4]
637
+ # @param scale [float]
638
+ # @return [Vector4]
639
+ [:Vector4Scale, :Vector4Scale, [Vector4.by_value, :float], Vector4.by_value],
640
+
641
+ # @!method Vector4Multiply(v1, v2)
642
+ # Vector4Multiply
643
+ # @param v1 [Vector4]
644
+ # @param v2 [Vector4]
645
+ # @return [Vector4]
646
+ [:Vector4Multiply, :Vector4Multiply, [Vector4.by_value, Vector4.by_value], Vector4.by_value],
647
+
648
+ # @!method Vector4Negate(v)
649
+ # Vector4Negate
650
+ # @param v [Vector4]
651
+ # @return [Vector4]
652
+ [:Vector4Negate, :Vector4Negate, [Vector4.by_value], Vector4.by_value],
653
+
654
+ # @!method Vector4Divide(v1, v2)
655
+ # Vector4Divide
656
+ # @param v1 [Vector4]
657
+ # @param v2 [Vector4]
658
+ # @return [Vector4]
659
+ [:Vector4Divide, :Vector4Divide, [Vector4.by_value, Vector4.by_value], Vector4.by_value],
660
+
661
+ # @!method Vector4Normalize(v)
662
+ # Vector4Normalize
663
+ # @param v [Vector4]
664
+ # @return [Vector4]
665
+ [:Vector4Normalize, :Vector4Normalize, [Vector4.by_value], Vector4.by_value],
666
+
667
+ # @!method Vector4Min(v1, v2)
668
+ # Vector4Min
669
+ # @param v1 [Vector4]
670
+ # @param v2 [Vector4]
671
+ # @return [Vector4]
672
+ [:Vector4Min, :Vector4Min, [Vector4.by_value, Vector4.by_value], Vector4.by_value],
673
+
674
+ # @!method Vector4Max(v1, v2)
675
+ # Vector4Max
676
+ # @param v1 [Vector4]
677
+ # @param v2 [Vector4]
678
+ # @return [Vector4]
679
+ [:Vector4Max, :Vector4Max, [Vector4.by_value, Vector4.by_value], Vector4.by_value],
680
+
681
+ # @!method Vector4Lerp(v1, v2, amount)
682
+ # Vector4Lerp
683
+ # @param v1 [Vector4]
684
+ # @param v2 [Vector4]
685
+ # @param amount [float]
686
+ # @return [Vector4]
687
+ [:Vector4Lerp, :Vector4Lerp, [Vector4.by_value, Vector4.by_value, :float], Vector4.by_value],
688
+
689
+ # @!method Vector4MoveTowards(v, target, maxDistance)
690
+ # Vector4MoveTowards
691
+ # @param v [Vector4]
692
+ # @param target [Vector4]
693
+ # @param maxDistance [float]
694
+ # @return [Vector4]
695
+ [:Vector4MoveTowards, :Vector4MoveTowards, [Vector4.by_value, Vector4.by_value, :float], Vector4.by_value],
696
+
697
+ # @!method Vector4Invert(v)
698
+ # Vector4Invert
699
+ # @param v [Vector4]
700
+ # @return [Vector4]
701
+ [:Vector4Invert, :Vector4Invert, [Vector4.by_value], Vector4.by_value],
702
+
703
+ # @!method Vector4Equals(p, q)
704
+ # Vector4Equals
705
+ # @param p [Vector4]
706
+ # @param q [Vector4]
707
+ # @return [int]
708
+ [:Vector4Equals, :Vector4Equals, [Vector4.by_value, Vector4.by_value], :int],
709
+
533
710
  # @!method MatrixDeterminant(mat)
534
711
  # MatrixDeterminant
535
712
  # @param mat [Matrix]
data/lib/rlgl.rb CHANGED
@@ -612,7 +612,7 @@ module Raylib
612
612
  [:rlBlitFramebuffer, :rlBlitFramebuffer, [:int, :int, :int, :int, :int, :int, :int, :int, :int], :void],
613
613
 
614
614
  # @!method rlBindFramebuffer(target, framebuffer)
615
- # rlBindFramebuffer : Bind framebuffer (FBO)
615
+ # rlBindFramebuffer : Bind framebuffer (FBO)
616
616
  # @param target [unsigned int]
617
617
  # @param framebuffer [unsigned int]
618
618
  # @return [void]
@@ -1084,12 +1084,10 @@ module Raylib
1084
1084
  # @return [unsigned char *]
1085
1085
  [:rlReadScreenPixels, :rlReadScreenPixels, [:int, :int], :pointer],
1086
1086
 
1087
- # @!method rlLoadFramebuffer(width, height)
1087
+ # @!method rlLoadFramebuffer()
1088
1088
  # rlLoadFramebuffer : Load an empty framebuffer
1089
- # @param width [int]
1090
- # @param height [int]
1091
1089
  # @return [unsigned int]
1092
- [:rlLoadFramebuffer, :rlLoadFramebuffer, [:int, :int], :uint],
1090
+ [:rlLoadFramebuffer, :rlLoadFramebuffer, [], :uint],
1093
1091
 
1094
1092
  # @!method rlFramebufferAttach(fboId, texId, attachType, texType, mipLevel)
1095
1093
  # rlFramebufferAttach : Attach texture/renderbuffer to a framebuffer
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.0
4
+ version: 0.7.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-03 00:00:00.000000000 Z
11
+ date: 2024-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi