raylib-bindings 0.7.1-x64-mingw → 0.7.3-x64-mingw

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: d5c7ea55228dc8769e375019a1e9af52249c027de8931423ab20eedda5c2850e
4
- data.tar.gz: c7440f04afc67836a085833ddaf79d487d83265e42e789e466fc8ba91a504568
3
+ metadata.gz: ee69ce0c3c9d6573b375c7fbd70ce858e182fba52c9ba85060e1158826c4d599
4
+ data.tar.gz: e601941f5bb97bb1c3d17ece10477a295a514cf8c537185777bdc12e4da2edac
5
5
  SHA512:
6
- metadata.gz: d9a5e1b7e0de14b6de072985f4b17f56773af07b84a4886aed4a7cb24803cc90df83873c5c95dde1c96f76804620b52ec6a7ae01e98a561d5624c32f99e610b8
7
- data.tar.gz: 938422df08ea93aeb519bc9ec890ab87a31986c7ac30528cbb1690441bc0a9df85f3579554183001d387da6eb8d33a7816d7f55e01aa1013cc49e9641d831f5f
6
+ metadata.gz: 5b4e30ecea4beffd7ff586aa01bced6b6bb27cc6383a66c8c5318b22e348d2f69d57dc9f7076ad837dc54d693a87656c160d7bb338a38f9e74ff0af49c404f24
7
+ data.tar.gz: 85efed50a104860600bf3eba12ae4628e43e745e0647aa663f6193433239c8605217e63c9e132793559bfc150c39527606611228d62b2c5e067444f610c3a06a
data/ChangeLog CHANGED
@@ -1,3 +1,28 @@
1
+ 2024-05-04 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/f1007554a0a8145060797c0aa8169bdaf2c1c6b8 ) and raygui ( https://github.com/raysan5/raygui/commit/a3a0e86e215145c28726e6f469f13d0aa6647a5e )
4
+
5
+ 2024-04-27 vaiorabbit <http://twitter.com/vaiorabbit>
6
+
7
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/e47ebec66134800e734710038ea4e5f070f3ef06 ) and raygui ( https://github.com/raysan5/raygui/commit/6f532337ff2d6dc14ba3a5f5b7ee63f9d90ff13b )
8
+
9
+ 2024-04-06 vaiorabbit <http://twitter.com/vaiorabbit>
10
+
11
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/414229bcf93816daaa253a82cd54fbd7b18e6449 ) and raygui ( https://github.com/raysan5/raygui/commit/0a9a9f897a16968444e10fea4fbac33ba1d5d640 )
12
+
13
+ 2024-03-31 vaiorabbit <http://twitter.com/vaiorabbit>
14
+
15
+ * examples/textures_bunnymark_plain.rb : Renamed from textures_bunnymark.rb
16
+ * examples/textures_bunnymark_optimized.rb : Added
17
+
18
+ 2024-03-24 vaiorabbit <http://twitter.com/vaiorabbit>
19
+
20
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/35252fceefdeb7b0920d9c1513efb4b5c05633dc ) and raygui ( https://github.com/raysan5/raygui/commit/9060e3bf33795dad4fdb4f60585b07901ffa5dee )
21
+
22
+ 2024-03-10 vaiorabbit <http://twitter.com/vaiorabbit>
23
+
24
+ * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/f072497551d9f03b5fbded289f8af021c103a8c0) and raygui ( https://github.com/raysan5/raygui/commit/623bc61f29839d451061252e1cc93edb013c2f8c )
25
+
1
26
  2024-03-02 vaiorabbit <http://twitter.com/vaiorabbit>
2
27
 
3
28
  * Updated with latest raylib ( https://github.com/raysan5/raylib/commit/25caf14be8d0284aceaa0de28753b3012e71b7bb )
data/README.md CHANGED
@@ -3,16 +3,16 @@
3
3
  # Yet another raylib wrapper for Ruby #
4
4
 
5
5
  * Created : 2021-10-17
6
- * Last modified : 2024-03-02
6
+ * Last modified : 2024-05-04
7
7
 
8
8
  Provides Ruby bindings for raylib-related libraries including:
9
9
 
10
- * [raylib](https://github.com/raysan5/raylib)
10
+ * [raylib](https://github.com/raysan5/raylib) version [5.1-dev]( https://github.com/raysan5/raylib/commit/f1007554a0a8145060797c0aa8169bdaf2c1c6b8 )
11
11
  * raylib
12
12
  * raymath
13
13
  * rlgl
14
- * [raygui](https://github.com/raysan5/raygui)
15
- * [Physac](https://github.com/raysan5/physac)
14
+ * [raygui](https://github.com/raysan5/raygui) version [4.1-dev]( https://github.com/raysan5/raygui/commit/a3a0e86e215145c28726e6f469f13d0aa6647a5e )
15
+ * [Physac](https://github.com/raysan5/physac) version [1.1]( https://github.com/raysan5/physac/commit/4a8e17f263fb8e1150b3fbafc96f880c7d7a4833 )
16
16
 
17
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
18
 
@@ -160,6 +160,9 @@ See the projects below to learn how to use this library:
160
160
  * `SetTraceLogCallback` and `TraceLogCallback` are unusable since Ruby-FFI does not support `:varargs` parameter in callbacks (`Proc`, etc.)
161
161
  * Ref.: https://ffi.github.io/ruby-ffi-archive/messages/20130214-%5Bruby-ffi%5D%20Re_%20Callback%20Function%20with%20varargs-345.html
162
162
 
163
+ * For macOS users: if you get error messages like “'.... .dylib' not valid for use in process: library load disallowed by system policy” , you can work around it with the following command (although it is not recommended):
164
+ * $ xattr -dr com.apple.quarantine (path to the .dylib)
165
+
163
166
  ## License ##
164
167
 
165
168
  Shared libraries in `lib` directory are built on top of these products and are available under the terms of these licenses:
data/lib/config.rb CHANGED
@@ -47,12 +47,18 @@ module Raylib
47
47
  RL_MAX_SHADER_LOCATIONS = 32 # Maximum number of shader locations supported
48
48
  RL_CULL_DISTANCE_NEAR = 0.01 # Default projection matrix near cull distance
49
49
  RL_CULL_DISTANCE_FAR = 1000.0 # Default projection matrix far cull distance
50
- RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION = "vertexPosition" # Bound by default to shader location: 0
51
- RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD = "vertexTexCoord" # Bound by default to shader location: 1
52
- RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL = "vertexNormal" # Bound by default to shader location: 2
53
- RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR = "vertexColor" # Bound by default to shader location: 3
54
- RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT = "vertexTangent" # Bound by default to shader location: 4
55
- RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2 = "vertexTexCoord2" # Bound by default to shader location: 5
50
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_POSITION = 0
51
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD = 1
52
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_NORMAL = 2
53
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_COLOR = 3
54
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_TANGENT = 4
55
+ RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD2 = 5
56
+ RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION = "vertexPosition" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_POSITION
57
+ RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD = "vertexTexCoord" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD
58
+ RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL = "vertexNormal" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_NORMAL
59
+ RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR = "vertexColor" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_COLOR
60
+ RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT = "vertexTangent" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_TANGENT
61
+ RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2 = "vertexTexCoord2" # Bound by default to shader location: RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD2
56
62
  RL_DEFAULT_SHADER_UNIFORM_NAME_MVP = "mvp" # model-view-projection matrix
57
63
  RL_DEFAULT_SHADER_UNIFORM_NAME_VIEW = "matView" # view matrix
58
64
  RL_DEFAULT_SHADER_UNIFORM_NAME_PROJECTION = "matProjection" # projection matrix
@@ -72,9 +78,7 @@ module Raylib
72
78
  SUPPORT_IMAGE_GENERATION = 1
73
79
  SUPPORT_IMAGE_MANIPULATION = 1
74
80
  SUPPORT_DEFAULT_FONT = 1
75
- SUPPORT_FILEFORMAT_FNT = 1
76
81
  SUPPORT_FILEFORMAT_TTF = 1
77
- SUPPORT_FILEFORMAT_BDF = 1
78
82
  SUPPORT_TEXT_MANIPULATION = 1
79
83
  SUPPORT_FONT_ATLAS_WHITE_REC = 1
80
84
  MAX_TEXT_BUFFER_LENGTH = 1024 # Size of internal static buffers used on some functions:
data/lib/libraylib.dll CHANGED
Binary file
data/lib/physac.dll CHANGED
Binary file
data/lib/raygui.dll CHANGED
Binary file
data/lib/raygui_main.rb CHANGED
@@ -12,9 +12,9 @@ module Raylib
12
12
  # Define/Macro
13
13
 
14
14
  RAYGUI_VERSION_MAJOR = 4
15
- RAYGUI_VERSION_MINOR = 0
15
+ RAYGUI_VERSION_MINOR = 1
16
16
  RAYGUI_VERSION_PATCH = 0
17
- RAYGUI_VERSION = "4.0"
17
+ RAYGUI_VERSION = "4.1-dev"
18
18
  SCROLLBAR_LEFT_SIDE = 0
19
19
  SCROLLBAR_RIGHT_SIDE = 1
20
20
 
@@ -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,21 +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 GetViewRay(mousePosition, camera, width, height)
1618
- # GetViewRay : Get a ray trace from mouse position in a viewport
1619
- # @param mousePosition [Vector2]
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]
1620
1620
  # @param camera [Camera]
1621
- # @param width [float]
1622
- # @param height [float]
1621
+ # @param width [int]
1622
+ # @param height [int]
1623
1623
  # @return [Ray]
1624
- [:GetViewRay, :GetViewRay, [Vector2.by_value, Camera.by_value, :float, :float], Ray.by_value],
1624
+ [:GetScreenToWorldRayEx, :GetScreenToWorldRayEx, [Vector2.by_value, Camera.by_value, :int, :int], Ray.by_value],
1625
1625
 
1626
1626
  # @!method GetWorldToScreen(position, camera)
1627
1627
  # GetWorldToScreen : Get the screen space position for a 3d world space position
@@ -2618,15 +2618,24 @@ module Raylib
2618
2618
  # @return [void]
2619
2619
  [:DrawRectangleRounded, :DrawRectangleRounded, [Rectangle.by_value, :float, :int, Color.by_value], :void],
2620
2620
 
2621
- # @!method DrawRectangleRoundedLines(rec, roundness, segments, lineThick, color)
2622
- # DrawRectangleRoundedLines : Draw rectangle with rounded edges outline
2621
+ # @!method DrawRectangleRoundedLines(rec, roundness, segments, color)
2622
+ # DrawRectangleRoundedLines : Draw rectangle lines with rounded edges
2623
+ # @param rec [Rectangle]
2624
+ # @param roundness [float]
2625
+ # @param segments [int]
2626
+ # @param color [Color]
2627
+ # @return [void]
2628
+ [:DrawRectangleRoundedLines, :DrawRectangleRoundedLines, [Rectangle.by_value, :float, :int, Color.by_value], :void],
2629
+
2630
+ # @!method DrawRectangleRoundedLinesEx(rec, roundness, segments, lineThick, color)
2631
+ # DrawRectangleRoundedLinesEx : Draw rectangle with rounded edges outline
2623
2632
  # @param rec [Rectangle]
2624
2633
  # @param roundness [float]
2625
2634
  # @param segments [int]
2626
2635
  # @param lineThick [float]
2627
2636
  # @param color [Color]
2628
2637
  # @return [void]
2629
- [:DrawRectangleRoundedLines, :DrawRectangleRoundedLines, [Rectangle.by_value, :float, :int, :float, Color.by_value], :void],
2638
+ [:DrawRectangleRoundedLinesEx, :DrawRectangleRoundedLinesEx, [Rectangle.by_value, :float, :int, :float, Color.by_value], :void],
2630
2639
 
2631
2640
  # @!method DrawTriangle(v1, v2, v3, color)
2632
2641
  # DrawTriangle : Draw a color-filled triangle (vertex in counter-clockwise order!)
@@ -3656,7 +3665,7 @@ module Raylib
3656
3665
  [:Fade, :Fade, [Color.by_value, :float], Color.by_value],
3657
3666
 
3658
3667
  # @!method ColorToInt(color)
3659
- # ColorToInt : Get hexadecimal value for a Color
3668
+ # ColorToInt : Get hexadecimal value for a Color (0xRRGGBBAA)
3660
3669
  # @param color [Color]
3661
3670
  # @return [int]
3662
3671
  [:ColorToInt, :ColorToInt, [Color.by_value], :int],
@@ -5115,7 +5124,7 @@ module Raylib
5115
5124
  [:SetAudioStreamCallback, :SetAudioStreamCallback, [AudioStream.by_value, :AudioCallback], :void],
5116
5125
 
5117
5126
  # @!method AttachAudioStreamProcessor(stream, processor)
5118
- # AttachAudioStreamProcessor : Attach audio stream processor to stream, receives the samples as <float>s
5127
+ # AttachAudioStreamProcessor : Attach audio stream processor to stream, receives the samples as 'float'
5119
5128
  # @param stream [AudioStream]
5120
5129
  # @param processor [AudioCallback]
5121
5130
  # @return [void]
@@ -5129,7 +5138,7 @@ module Raylib
5129
5138
  [:DetachAudioStreamProcessor, :DetachAudioStreamProcessor, [AudioStream.by_value, :AudioCallback], :void],
5130
5139
 
5131
5140
  # @!method AttachAudioMixedProcessor(processor)
5132
- # AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s
5141
+ # AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'
5133
5142
  # @param processor [AudioCallback]
5134
5143
  # @return [void]
5135
5144
  [:AttachAudioMixedProcessor, :AttachAudioMixedProcessor, [:AudioCallback], :void],
data/lib/raymath.rb CHANGED
@@ -479,6 +479,16 @@ module Raylib
479
479
  # @return [Vector3]
480
480
  [:Vector3Lerp, :Vector3Lerp, [Vector3.by_value, Vector3.by_value, :float], Vector3.by_value],
481
481
 
482
+ # @!method Vector3CubicHermite(v1, tangent1, v2, tangent2, amount)
483
+ # Vector3CubicHermite
484
+ # @param v1 [Vector3]
485
+ # @param tangent1 [Vector3]
486
+ # @param v2 [Vector3]
487
+ # @param tangent2 [Vector3]
488
+ # @param amount [float]
489
+ # @return [Vector3]
490
+ [:Vector3CubicHermite, :Vector3CubicHermite, [Vector3.by_value, Vector3.by_value, Vector3.by_value, Vector3.by_value, :float], Vector3.by_value],
491
+
482
492
  # @!method Vector3Reflect(v, normal)
483
493
  # Vector3Reflect
484
494
  # @param v [Vector3]
@@ -951,6 +961,16 @@ module Raylib
951
961
  # @return [Quaternion]
952
962
  [:QuaternionSlerp, :QuaternionSlerp, [Quaternion.by_value, Quaternion.by_value, :float], Quaternion.by_value],
953
963
 
964
+ # @!method QuaternionCubicHermiteSpline(q1, outTangent1, q2, inTangent2, t)
965
+ # QuaternionCubicHermiteSpline
966
+ # @param q1 [Quaternion]
967
+ # @param outTangent1 [Quaternion]
968
+ # @param q2 [Quaternion]
969
+ # @param inTangent2 [Quaternion]
970
+ # @param t [float]
971
+ # @return [Quaternion]
972
+ [:QuaternionCubicHermiteSpline, :QuaternionCubicHermiteSpline, [Quaternion.by_value, Quaternion.by_value, Quaternion.by_value, Quaternion.by_value, :float], Quaternion.by_value],
973
+
954
974
  # @!method QuaternionFromVector3ToVector3(from, to)
955
975
  # QuaternionFromVector3ToVector3
956
976
  # @param from [Vector3]
data/lib/rlgl.rb CHANGED
@@ -11,7 +11,7 @@ module Raylib
11
11
 
12
12
  # Define/Macro
13
13
 
14
- RLGL_VERSION = "4.5"
14
+ RLGL_VERSION = "5.0"
15
15
  RL_DEFAULT_BATCH_BUFFER_ELEMENTS = 8192
16
16
  RL_TEXTURE_WRAP_S = 0x2802 # GL_TEXTURE_WRAP_S
17
17
  RL_TEXTURE_WRAP_T = 0x2803 # GL_TEXTURE_WRAP_T
@@ -249,10 +249,11 @@ module Raylib
249
249
  :elementCount, :int, # Number of elements in the buffer (QUADS)
250
250
  :vertices, :pointer, # Vertex position (XYZ - 3 components per vertex) (shader-location = 0)
251
251
  :texcoords, :pointer, # Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)
252
+ :normals, :pointer, # Vertex normal (XYZ - 3 components per vertex) (shader-location = 2)
252
253
  :colors, :pointer, # Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)
253
254
  :indices, :pointer, # Vertex indices (in case vertex data comes indexed) (6 indices per quad)
254
255
  :vaoId, :uint, # OpenGL Vertex Array Object id
255
- :vboId, [:uint, 4], # OpenGL Vertex Buffer Objects id (4 types of vertex data)
256
+ :vboId, [:uint, 5], # OpenGL Vertex Buffer Objects id (5 types of vertex data)
256
257
  )
257
258
  def elementCount = self[:elementCount]
258
259
  def elementCount=(v) self[:elementCount] = v end
@@ -260,6 +261,8 @@ module Raylib
260
261
  def vertices=(v) self[:vertices] = v end
261
262
  def texcoords = self[:texcoords]
262
263
  def texcoords=(v) self[:texcoords] = v end
264
+ def normals = self[:normals]
265
+ def normals=(v) self[:normals] = v end
263
266
  def colors = self[:colors]
264
267
  def colors=(v) self[:colors] = v end
265
268
  def indices = self[:indices]
@@ -401,6 +404,25 @@ module Raylib
401
404
  # @return [void]
402
405
  [:rlViewport, :rlViewport, [:int, :int, :int, :int], :void],
403
406
 
407
+ # @!method rlSetClipPlanes(near, far)
408
+ # rlSetClipPlanes : Set clip planes distances
409
+ # @param near [double]
410
+ # @param far [double]
411
+ # @return [void]
412
+ [:rlSetClipPlanes, :rlSetClipPlanes, [:double, :double], :void],
413
+
414
+ # @!method rlGetCullDistanceNear()
415
+ # rlGetCullDistanceNear : Get cull plane distance near
416
+ # @param []
417
+ # @return [double]
418
+ [:rlGetCullDistanceNear, :rlGetCullDistanceNear, [], :double],
419
+
420
+ # @!method rlGetCullDistanceFar()
421
+ # rlGetCullDistanceFar : Get cull plane distance far
422
+ # @param []
423
+ # @return [double]
424
+ [:rlGetCullDistanceFar, :rlGetCullDistanceFar, [], :double],
425
+
404
426
  # @!method rlBegin(mode)
405
427
  # rlBegin : Initialize drawing mode (how to organize vertex)
406
428
  # @param mode [int]
@@ -612,7 +634,7 @@ module Raylib
612
634
  [:rlBlitFramebuffer, :rlBlitFramebuffer, [:int, :int, :int, :int, :int, :int, :int, :int, :int], :void],
613
635
 
614
636
  # @!method rlBindFramebuffer(target, framebuffer)
615
- # rlBindFramebuffer : Bind framebuffer (FBO)
637
+ # rlBindFramebuffer : Bind framebuffer (FBO)
616
638
  # @param target [unsigned int]
617
639
  # @param framebuffer [unsigned int]
618
640
  # @return [void]
@@ -940,16 +962,16 @@ module Raylib
940
962
  # @return [void]
941
963
  [:rlUnloadVertexBuffer, :rlUnloadVertexBuffer, [:uint], :void],
942
964
 
943
- # @!method rlSetVertexAttribute(index, compSize, type, normalized, stride, pointer)
965
+ # @!method rlSetVertexAttribute(index, compSize, type, normalized, stride, offset)
944
966
  # rlSetVertexAttribute : Set vertex attribute data configuration
945
967
  # @param index [unsigned int]
946
968
  # @param compSize [int]
947
969
  # @param type [int]
948
970
  # @param normalized [bool]
949
971
  # @param stride [int]
950
- # @param pointer [const void *]
972
+ # @param offset [int]
951
973
  # @return [void]
952
- [:rlSetVertexAttribute, :rlSetVertexAttribute, [:uint, :int, :int, :bool, :int, :pointer], :void],
974
+ [:rlSetVertexAttribute, :rlSetVertexAttribute, [:uint, :int, :int, :bool, :int, :int], :void],
953
975
 
954
976
  # @!method rlSetVertexAttributeDivisor(index, divisor)
955
977
  # rlSetVertexAttributeDivisor : Set vertex attribute data divisor
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.1
4
+ version: 0.7.3
5
5
  platform: x64-mingw
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi