raylib-bindings 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README.md +1 -1
- data/lib/libraylib.aarch64.so +0 -0
- data/lib/libraylib.dll +0 -0
- data/lib/libraylib.dylib +0 -0
- data/lib/libraylib.x86_64.so +0 -0
- data/lib/physac.dll +0 -0
- data/lib/physac.rb +86 -67
- data/lib/raygui.aarch64.so +0 -0
- data/lib/raygui.dll +0 -0
- data/lib/raygui.dylib +0 -0
- data/lib/raygui.rb +304 -253
- data/lib/raygui.x86_64.so +0 -0
- data/lib/raylib_main.rb +2656 -2136
- data/lib/raymath.rb +557 -445
- data/lib/rcamera.rb +62 -50
- data/lib/rlgl.rb +677 -532
- metadata +2 -2
data/lib/rcamera.rb
CHANGED
@@ -22,78 +22,90 @@ module Raylib
|
|
22
22
|
def self.setup_rcamera_symbols
|
23
23
|
entries = [
|
24
24
|
|
25
|
-
# GetCameraForward
|
26
|
-
#
|
27
|
-
#
|
25
|
+
# @!method GetCameraForward(camera)
|
26
|
+
# GetCameraForward
|
27
|
+
# @param camera [Camera *]
|
28
|
+
# @return [Vector3]
|
28
29
|
[:GetCameraForward, :GetCameraForward, [:pointer], Vector3.by_value],
|
29
30
|
|
30
|
-
# GetCameraUp
|
31
|
-
#
|
32
|
-
#
|
31
|
+
# @!method GetCameraUp(camera)
|
32
|
+
# GetCameraUp
|
33
|
+
# @param camera [Camera *]
|
34
|
+
# @return [Vector3]
|
33
35
|
[:GetCameraUp, :GetCameraUp, [:pointer], Vector3.by_value],
|
34
36
|
|
35
|
-
# GetCameraRight
|
36
|
-
#
|
37
|
-
#
|
37
|
+
# @!method GetCameraRight(camera)
|
38
|
+
# GetCameraRight
|
39
|
+
# @param camera [Camera *]
|
40
|
+
# @return [Vector3]
|
38
41
|
[:GetCameraRight, :GetCameraRight, [:pointer], Vector3.by_value],
|
39
42
|
|
40
|
-
# CameraMoveForward
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
43
|
+
# @!method CameraMoveForward(camera, distance, moveInWorldPlane)
|
44
|
+
# CameraMoveForward
|
45
|
+
# @param camera [Camera *]
|
46
|
+
# @param distance [float]
|
47
|
+
# @param moveInWorldPlane [bool]
|
48
|
+
# @return [void]
|
45
49
|
[:CameraMoveForward, :CameraMoveForward, [:pointer, :float, :bool], :void],
|
46
50
|
|
47
|
-
# CameraMoveUp
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
+
# @!method CameraMoveUp(camera, distance)
|
52
|
+
# CameraMoveUp
|
53
|
+
# @param camera [Camera *]
|
54
|
+
# @param distance [float]
|
55
|
+
# @return [void]
|
51
56
|
[:CameraMoveUp, :CameraMoveUp, [:pointer, :float], :void],
|
52
57
|
|
53
|
-
# CameraMoveRight
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
+
# @!method CameraMoveRight(camera, distance, moveInWorldPlane)
|
59
|
+
# CameraMoveRight
|
60
|
+
# @param camera [Camera *]
|
61
|
+
# @param distance [float]
|
62
|
+
# @param moveInWorldPlane [bool]
|
63
|
+
# @return [void]
|
58
64
|
[:CameraMoveRight, :CameraMoveRight, [:pointer, :float, :bool], :void],
|
59
65
|
|
60
|
-
# CameraMoveToTarget
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
66
|
+
# @!method CameraMoveToTarget(camera, delta)
|
67
|
+
# CameraMoveToTarget
|
68
|
+
# @param camera [Camera *]
|
69
|
+
# @param delta [float]
|
70
|
+
# @return [void]
|
64
71
|
[:CameraMoveToTarget, :CameraMoveToTarget, [:pointer, :float], :void],
|
65
72
|
|
66
|
-
# CameraYaw
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
73
|
+
# @!method CameraYaw(camera, angle, rotateAroundTarget)
|
74
|
+
# CameraYaw
|
75
|
+
# @param camera [Camera *]
|
76
|
+
# @param angle [float]
|
77
|
+
# @param rotateAroundTarget [bool]
|
78
|
+
# @return [void]
|
71
79
|
[:CameraYaw, :CameraYaw, [:pointer, :float, :bool], :void],
|
72
80
|
|
73
|
-
# CameraPitch
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
81
|
+
# @!method CameraPitch(camera, angle, lockView, rotateAroundTarget, rotateUp)
|
82
|
+
# CameraPitch
|
83
|
+
# @param camera [Camera *]
|
84
|
+
# @param angle [float]
|
85
|
+
# @param lockView [bool]
|
86
|
+
# @param rotateAroundTarget [bool]
|
87
|
+
# @param rotateUp [bool]
|
88
|
+
# @return [void]
|
80
89
|
[:CameraPitch, :CameraPitch, [:pointer, :float, :bool, :bool, :bool], :void],
|
81
90
|
|
82
|
-
# CameraRoll
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
91
|
+
# @!method CameraRoll(camera, angle)
|
92
|
+
# CameraRoll
|
93
|
+
# @param camera [Camera *]
|
94
|
+
# @param angle [float]
|
95
|
+
# @return [void]
|
86
96
|
[:CameraRoll, :CameraRoll, [:pointer, :float], :void],
|
87
97
|
|
88
|
-
# GetCameraViewMatrix
|
89
|
-
#
|
90
|
-
#
|
98
|
+
# @!method GetCameraViewMatrix(camera)
|
99
|
+
# GetCameraViewMatrix
|
100
|
+
# @param camera [Camera *]
|
101
|
+
# @return [Matrix]
|
91
102
|
[:GetCameraViewMatrix, :GetCameraViewMatrix, [:pointer], :int],
|
92
103
|
|
93
|
-
# GetCameraProjectionMatrix
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
104
|
+
# @!method GetCameraProjectionMatrix(camera, aspect)
|
105
|
+
# GetCameraProjectionMatrix
|
106
|
+
# @param camera [Camera*]
|
107
|
+
# @param aspect [float]
|
108
|
+
# @return [Matrix]
|
97
109
|
[:GetCameraProjectionMatrix, :GetCameraProjectionMatrix, [:pointer, :float], :int],
|
98
110
|
]
|
99
111
|
entries.each do |entry|
|