raylib 5.0.0.5__cp313-cp313-manylinux2014_aarch64.whl → 5.5.0.3__cp313-cp313-manylinux2014_aarch64.whl
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.
Potentially problematic release.
This version of raylib might be problematic. Click here for more details.
- pyray/__init__.py +4 -5
- pyray/__init__.pyi +2401 -2118
- raylib/__init__.py +9 -5
- raylib/__init__.pyi +2291 -2059
- raylib/_raylib_cffi.cpython-313-aarch64-linux-gnu.so +0 -0
- raylib/build.py +145 -47
- raylib/defines.py +29 -9
- raylib/enums.py +56 -11
- raylib/glfw3.h.modified +226 -110
- raylib/physac.h.modified +74 -68
- raylib/raygui.h.modified +55 -33
- raylib/raylib.h.modified +133 -94
- raylib/raymath.h.modified +40 -10
- raylib/rlgl.h.modified +55 -38
- raylib/version.py +1 -1
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info}/METADATA +158 -63
- raylib-5.5.0.3.dist-info/RECORD +23 -0
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info}/WHEEL +1 -1
- raylib-5.0.0.5.dist-info/RECORD +0 -23
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info/licenses}/LICENSE +0 -0
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info}/top_level.txt +0 -0
|
Binary file
|
raylib/build.py
CHANGED
|
@@ -15,35 +15,70 @@
|
|
|
15
15
|
# Assumes raylib, GL, etc are all already installed as system libraries. We dont distribute them.
|
|
16
16
|
# Raylib must be installed and compiled with: cmake -DWITH_PIC=ON -DSHARED=ON -DSTATIC=ON ..
|
|
17
17
|
|
|
18
|
-
# We use /usr/local/lib/libraylib.a to ensure we link to static version
|
|
19
|
-
import re
|
|
20
18
|
|
|
19
|
+
import re
|
|
21
20
|
from cffi import FFI
|
|
22
21
|
import os
|
|
23
22
|
import platform
|
|
24
|
-
import sys
|
|
25
23
|
import subprocess
|
|
26
24
|
import time
|
|
25
|
+
from pathlib import Path
|
|
27
26
|
|
|
27
|
+
THIS_DIR = Path(__file__).resolve().parent
|
|
28
|
+
REPO_ROOT = THIS_DIR.parent
|
|
28
29
|
|
|
30
|
+
# TODO: I think the customisation is making this file overly complex and probably isn't used
|
|
31
|
+
# by many/any users, see discussion at https://github.com/electronstudio/raylib-python-cffi/pull/172
|
|
32
|
+
#
|
|
33
|
+
# Environment variables you can set before build
|
|
34
|
+
#
|
|
35
|
+
# RAYLIB_PLATFORM: Any one of: Desktop, SDL, DRM, PLATFORM_COMMA
|
|
36
|
+
# RAYLIB_LINK_ARGS: Arguments to pass to the linker rather than getting them from pkg-config.
|
|
37
|
+
# e.g.: -L/usr/local/lib -lraylib
|
|
38
|
+
# RAYLIB_INCLUDE_PATH: Directory to find raylib.h rather than getting from pkg-config.
|
|
39
|
+
# e.g.: /usr/local/include
|
|
40
|
+
# RAYGUI_INCLUDE_PATH: Directory to find raygui.h
|
|
41
|
+
# e.g.: /usr/local/include
|
|
42
|
+
# GLFW_INCLUDE_PATH: Directory to find glfw3.h
|
|
43
|
+
# e.g.: /usr/local/include/GLFW
|
|
44
|
+
# PHYSAC_INCLUDE_PATH: Directory to find physac.h
|
|
45
|
+
# e.g.: /usr/local/include
|
|
46
|
+
# LIBFFI_INCLUDE_PATH:
|
|
47
|
+
# e.g.: /usr/local/include
|
|
48
|
+
#
|
|
49
|
+
# PKG_CONFIG_LIB_raylib: the package to request from pkg-config for raylib include files, default 'raylib'
|
|
50
|
+
# PKG_CONFIG_LIB_raygui: the package to request from pkg-config for raygui include files
|
|
51
|
+
# set to 'raygui' if you have a separate raygui package, else unset for default 'raylib'
|
|
52
|
+
# PKG_CONFIG_LIB_physac: the package to request from pkg-config for physac indlude files
|
|
53
|
+
# set to 'physac' if you have a separate raygui physac, else unset for default 'raylib'
|
|
54
|
+
# PKG_CONFIG_LIB_glfw3: the package to request from pkg-config for glfw3 include files
|
|
55
|
+
# set to 'glfw3' if you have a separate glfw3 package, else unset for default 'raylib'
|
|
56
|
+
# PKG_CONFIG_LIB_libffi: the package to request from pkg-config for libffi include files
|
|
29
57
|
|
|
58
|
+
RAYLIB_PLATFORM = os.getenv("RAYLIB_PLATFORM", "Desktop")
|
|
30
59
|
|
|
31
|
-
def
|
|
32
|
-
|
|
60
|
+
def check_raylib_pkgconfig_installed():
|
|
61
|
+
# this should be 'pkg-config --exists raylib' but result is non-deterministic on old versions of pkg-config!
|
|
62
|
+
return subprocess.run(['pkg-config', '--libs', 'raylib'], text=True, stdout=subprocess.PIPE).returncode == 0
|
|
33
63
|
|
|
64
|
+
def check_sdl_pkgconfig_installed():
|
|
65
|
+
# this should be 'pkg-config --exists sdl2' but result is non-deterministic on old versions of pkg-config!
|
|
66
|
+
return subprocess.run(['pkg-config', '--libs', 'sdl2'], text=True, stdout=subprocess.PIPE).returncode == 0
|
|
34
67
|
|
|
35
|
-
def get_the_include_path():
|
|
36
|
-
return subprocess.run(['pkg-config', '--variable=includedir', 'raylib'], text=True,
|
|
37
|
-
stdout=subprocess.PIPE).stdout.strip()
|
|
38
68
|
|
|
69
|
+
def get_the_include_path_from_pkgconfig(libname):
|
|
70
|
+
return subprocess.run(
|
|
71
|
+
['pkg-config', '--variable=includedir', os.environ.get("PKG_CONFIG_LIB_" + libname, 'raylib')], text=True,
|
|
72
|
+
stdout=subprocess.PIPE).stdout.strip()
|
|
39
73
|
|
|
40
|
-
|
|
74
|
+
|
|
75
|
+
def get_the_lib_path_from_pkgconfig():
|
|
41
76
|
return subprocess.run(['pkg-config', '--variable=libdir', 'raylib'], text=True,
|
|
42
77
|
stdout=subprocess.PIPE).stdout.strip()
|
|
43
78
|
|
|
44
|
-
def
|
|
79
|
+
def get_lib_flags_from_pkgconfig():
|
|
45
80
|
return subprocess.run(['pkg-config', '--libs', 'raylib'], text=True,
|
|
46
|
-
stdout=subprocess.PIPE).stdout.strip()
|
|
81
|
+
stdout=subprocess.PIPE).stdout.strip()
|
|
47
82
|
|
|
48
83
|
def pre_process_header(filename, remove_function_bodies=False):
|
|
49
84
|
print("Pre-processing " + filename)
|
|
@@ -103,21 +138,31 @@ def check_header_exists(file):
|
|
|
103
138
|
|
|
104
139
|
|
|
105
140
|
def build_unix():
|
|
106
|
-
if not
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
141
|
+
if os.getenv("RAYLIB_LINK_ARGS") is None and not check_raylib_pkgconfig_installed():
|
|
142
|
+
print("PKG_CONFIG_PATH is set to: "+os.getenv("PKG_CONFIG_PATH"))
|
|
143
|
+
raise Exception("ERROR: raylib not found by pkg-config. Please install pkg-config and Raylib"
|
|
144
|
+
"or else set RAYLIB_LINK_ARGS env variable.")
|
|
145
|
+
|
|
146
|
+
if RAYLIB_PLATFORM=="SDL" and os.getenv("RAYLIB_LINK_ARGS") is None and not check_sdl_pkgconfig_installed():
|
|
147
|
+
print("PKG_CONFIG_PATH is set to: "+os.getenv("PKG_CONFIG_PATH"))
|
|
148
|
+
raise Exception("ERROR: SDL2 not found by pkg-config. Please install pkg-config and SDL2."
|
|
149
|
+
"or else set RAYLIB_LINK_ARGS env variable.")
|
|
150
|
+
|
|
151
|
+
raylib_include_path = os.getenv("RAYLIB_INCLUDE_PATH")
|
|
152
|
+
if raylib_include_path is None:
|
|
153
|
+
raylib_include_path = get_the_include_path_from_pkgconfig("raylib")
|
|
154
|
+
raylib_h = raylib_include_path + "/raylib.h"
|
|
155
|
+
rlgl_h = raylib_include_path + "/rlgl.h"
|
|
156
|
+
raymath_h = raylib_include_path + "/raymath.h"
|
|
112
157
|
|
|
113
158
|
if not os.path.isfile(raylib_h):
|
|
114
|
-
raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib.")
|
|
159
|
+
raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib or set RAYLIB_INCLUDE_PATH.")
|
|
115
160
|
|
|
116
161
|
if not os.path.isfile(rlgl_h):
|
|
117
|
-
raise Exception("ERROR: " + rlgl_h + " not found. Please install Raylib.")
|
|
162
|
+
raise Exception("ERROR: " + rlgl_h + " not found. Please install Raylib or set RAYLIB_INCLUDE_PATH.")
|
|
118
163
|
|
|
119
164
|
if not os.path.isfile(raymath_h):
|
|
120
|
-
raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib.")
|
|
165
|
+
raise Exception("ERROR: " + raylib_h + " not found. Please install Raylib or set RAYLIB_INCLUDE_PATH.")
|
|
121
166
|
|
|
122
167
|
ffi_includes = """
|
|
123
168
|
#include "raylib.h"
|
|
@@ -125,13 +170,19 @@ def build_unix():
|
|
|
125
170
|
#include "raymath.h"
|
|
126
171
|
"""
|
|
127
172
|
|
|
128
|
-
|
|
129
|
-
if
|
|
173
|
+
glfw_include_path = os.getenv("GLFW_INCLUDE_PATH")
|
|
174
|
+
if glfw_include_path is None:
|
|
175
|
+
glfw_include_path = get_the_include_path_from_pkgconfig("glfw3")
|
|
176
|
+
glfw3_h = glfw_include_path + "/GLFW/glfw3.h"
|
|
177
|
+
if RAYLIB_PLATFORM=="Desktop" and check_header_exists(glfw3_h):
|
|
130
178
|
ffi_includes += """
|
|
131
179
|
#include "GLFW/glfw3.h"
|
|
132
180
|
"""
|
|
133
181
|
|
|
134
|
-
|
|
182
|
+
raygui_include_path = os.getenv("RAYGUI_INCLUDE_PATH")
|
|
183
|
+
if raygui_include_path is None:
|
|
184
|
+
raygui_include_path = get_the_include_path_from_pkgconfig("raygui")
|
|
185
|
+
raygui_h = raygui_include_path + "/raygui.h"
|
|
135
186
|
if check_header_exists(raygui_h):
|
|
136
187
|
ffi_includes += """
|
|
137
188
|
#define RAYGUI_IMPLEMENTATION
|
|
@@ -139,13 +190,20 @@ def build_unix():
|
|
|
139
190
|
#include "raygui.h"
|
|
140
191
|
"""
|
|
141
192
|
|
|
142
|
-
|
|
193
|
+
physac_include_path = os.getenv("PHYSAC_INCLUDE_PATH")
|
|
194
|
+
if physac_include_path is None:
|
|
195
|
+
physac_include_path = get_the_include_path_from_pkgconfig("physac")
|
|
196
|
+
physac_h = physac_include_path + "/physac.h"
|
|
143
197
|
if check_header_exists(physac_h):
|
|
144
198
|
ffi_includes += """
|
|
145
199
|
#define PHYSAC_IMPLEMENTATION
|
|
146
200
|
#include "physac.h"
|
|
147
201
|
"""
|
|
148
202
|
|
|
203
|
+
libffi_include_path = os.getenv("LIBFFI_INCLUDE_PATH")
|
|
204
|
+
if libffi_include_path is None:
|
|
205
|
+
libffi_include_path = get_the_include_path_from_pkgconfig("libffi")
|
|
206
|
+
|
|
149
207
|
ffibuilder.cdef(pre_process_header(raylib_h))
|
|
150
208
|
ffibuilder.cdef(pre_process_header(rlgl_h))
|
|
151
209
|
ffibuilder.cdef(pre_process_header(raymath_h, True))
|
|
@@ -154,28 +212,52 @@ def build_unix():
|
|
|
154
212
|
ffibuilder.cdef(pre_process_header(raygui_h))
|
|
155
213
|
if os.path.isfile(physac_h):
|
|
156
214
|
ffibuilder.cdef(pre_process_header(physac_h))
|
|
157
|
-
if os.path.isfile(glfw3_h):
|
|
215
|
+
if RAYLIB_PLATFORM=="Desktop" and os.path.isfile(glfw3_h):
|
|
158
216
|
ffibuilder.cdef(pre_process_header(glfw3_h))
|
|
159
217
|
|
|
160
218
|
|
|
161
219
|
if platform.system() == "Darwin":
|
|
162
220
|
print("BUILDING FOR MAC")
|
|
163
|
-
|
|
221
|
+
flags = os.getenv("RAYLIB_LINK_ARGS")
|
|
222
|
+
if flags is None:
|
|
223
|
+
flags = get_the_lib_path_from_pkgconfig() + '/libraylib.a'
|
|
224
|
+
# We use /usr/local/lib/libraylib.a to ensure we link to static version
|
|
225
|
+
extra_link_args = flags.split() + ['-framework', 'OpenGL', '-framework', 'Cocoa',
|
|
164
226
|
'-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework',
|
|
165
227
|
'CoreVideo']
|
|
228
|
+
if RAYLIB_PLATFORM=="SDL":
|
|
229
|
+
extra_link_args += ['/usr/local/lib/libSDL2.a', '-framework', 'CoreHaptics', '-framework', 'ForceFeedback',
|
|
230
|
+
'-framework', 'GameController']
|
|
166
231
|
libraries = []
|
|
167
232
|
extra_compile_args = ["-Wno-error=incompatible-function-pointer-types", "-D_CFFI_NO_LIMITED_API"]
|
|
168
233
|
else: #platform.system() == "Linux":
|
|
169
234
|
print("BUILDING FOR LINUX")
|
|
170
|
-
|
|
171
|
-
|
|
235
|
+
flags = os.getenv("RAYLIB_LINK_ARGS")
|
|
236
|
+
if flags is None:
|
|
237
|
+
flags = get_lib_flags_from_pkgconfig()
|
|
238
|
+
extra_link_args = flags.split() + [ '-lm', '-lpthread', '-lGL',
|
|
239
|
+
'-lrt', '-lm', '-ldl', '-lpthread', '-latomic']
|
|
240
|
+
if RAYLIB_PLATFORM=="SDL":
|
|
241
|
+
extra_link_args += ['-lX11','-lSDL2']
|
|
242
|
+
elif RAYLIB_PLATFORM=="DRM":
|
|
243
|
+
extra_link_args += ['-lEGL', '-lgbm']
|
|
244
|
+
elif RAYLIB_PLATFORM=="PLATFORM_COMMA":
|
|
245
|
+
extra_link_args.remove('-lGL')
|
|
246
|
+
extra_link_args += ['-lGLESv2', '-lEGL', '-lwayland-client', '-lwayland-egl']
|
|
247
|
+
else:
|
|
248
|
+
extra_link_args += ['-lX11']
|
|
172
249
|
extra_compile_args = ["-Wno-incompatible-pointer-types", "-D_CFFI_NO_LIMITED_API"]
|
|
173
|
-
libraries = [
|
|
250
|
+
libraries = [] # Not sure why but we put them in extra_link_args instead so *shouldnt* be needed here
|
|
251
|
+
|
|
174
252
|
|
|
253
|
+
print("extra_link_args: "+str(extra_link_args))
|
|
254
|
+
print("extra_compile_args: "+str(extra_compile_args))
|
|
255
|
+
print("libraries: "+str(libraries))
|
|
175
256
|
ffibuilder.set_source("raylib._raylib_cffi",
|
|
176
257
|
ffi_includes,
|
|
177
258
|
py_limited_api=False,
|
|
178
|
-
include_dirs=[
|
|
259
|
+
include_dirs=[raylib_include_path, raygui_include_path, physac_include_path, glfw_include_path,
|
|
260
|
+
libffi_include_path],
|
|
179
261
|
extra_link_args=extra_link_args,
|
|
180
262
|
extra_compile_args=extra_compile_args,
|
|
181
263
|
libraries=libraries)
|
|
@@ -183,31 +265,47 @@ def build_unix():
|
|
|
183
265
|
|
|
184
266
|
def build_windows():
|
|
185
267
|
print("BUILDING FOR WINDOWS")
|
|
186
|
-
ffibuilder.cdef(
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
ffibuilder.cdef(
|
|
190
|
-
ffibuilder.cdef(
|
|
191
|
-
ffibuilder.cdef(
|
|
192
|
-
ffibuilder.
|
|
268
|
+
ffibuilder.cdef((THIS_DIR / "raylib.h.modified").read_text())
|
|
269
|
+
if RAYLIB_PLATFORM=="Desktop":
|
|
270
|
+
ffibuilder.cdef((THIS_DIR / "glfw3.h.modified").read_text())
|
|
271
|
+
ffibuilder.cdef((THIS_DIR / "rlgl.h.modified").read_text())
|
|
272
|
+
ffibuilder.cdef((THIS_DIR / "raygui.h.modified").read_text())
|
|
273
|
+
ffibuilder.cdef((THIS_DIR / "physac.h.modified").read_text())
|
|
274
|
+
ffibuilder.cdef((THIS_DIR / "raymath.h.modified").read_text())
|
|
275
|
+
|
|
276
|
+
ffi_includes = """
|
|
193
277
|
#include "raylib.h"
|
|
194
|
-
#include "rlgl.h"
|
|
278
|
+
#include "rlgl.h"
|
|
195
279
|
#include "raymath.h"
|
|
196
|
-
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
if RAYLIB_PLATFORM=="Desktop":
|
|
283
|
+
ffi_includes += """
|
|
284
|
+
#include "GLFW/glfw3.h"
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
ffi_includes += """
|
|
197
288
|
#define RAYGUI_IMPLEMENTATION
|
|
198
289
|
#define RAYGUI_SUPPORT_RICONS
|
|
199
290
|
#include "raygui.h"
|
|
200
291
|
#define PHYSAC_IMPLEMENTATION
|
|
201
|
-
#
|
|
202
|
-
""
|
|
292
|
+
#define PHYSAC_NO_THREADS
|
|
293
|
+
#include "physac.h"
|
|
294
|
+
"""
|
|
295
|
+
libraries = ['raylib', 'gdi32', 'shell32', 'user32', 'OpenGL32', 'winmm']
|
|
296
|
+
if RAYLIB_PLATFORM=="SDL":
|
|
297
|
+
libraries += ['SDL2']
|
|
298
|
+
|
|
299
|
+
print("libraries: "+str(libraries))
|
|
300
|
+
ffibuilder.set_source("raylib._raylib_cffi", ffi_includes,
|
|
203
301
|
extra_link_args=['/NODEFAULTLIB:MSVCRTD'],
|
|
204
|
-
extra_compile_args="/D_CFFI_NO_LIMITED_API",
|
|
302
|
+
extra_compile_args=["/D_CFFI_NO_LIMITED_API"],
|
|
205
303
|
py_limited_api=False,
|
|
206
|
-
libraries=
|
|
207
|
-
include_dirs=['
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
'
|
|
304
|
+
libraries=libraries,
|
|
305
|
+
include_dirs=[str(REPO_ROOT / 'raylib-c/src'),
|
|
306
|
+
str(REPO_ROOT / 'raylib-c/src/external/glfw/include'),
|
|
307
|
+
str(REPO_ROOT / 'raygui/src'),
|
|
308
|
+
str(REPO_ROOT / 'physac/src')],
|
|
211
309
|
)
|
|
212
310
|
|
|
213
311
|
|
raylib/defines.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import raylib
|
|
2
2
|
|
|
3
3
|
RAYLIB_VERSION_MAJOR: int = 5
|
|
4
|
-
RAYLIB_VERSION_MINOR: int =
|
|
4
|
+
RAYLIB_VERSION_MINOR: int = 5
|
|
5
5
|
RAYLIB_VERSION_PATCH: int = 0
|
|
6
|
-
RAYLIB_VERSION: str = "5.
|
|
6
|
+
RAYLIB_VERSION: str = "5.5"
|
|
7
7
|
PI: float = 3.141592653589793
|
|
8
8
|
DEG2RAD = PI / 180.0
|
|
9
9
|
RAD2DEG = 180.0 / PI
|
|
@@ -15,7 +15,7 @@ MATERIAL_MAP_SPECULAR = raylib.MATERIAL_MAP_METALNESS
|
|
|
15
15
|
SHADER_LOC_MAP_DIFFUSE = raylib.SHADER_LOC_MAP_ALBEDO
|
|
16
16
|
SHADER_LOC_MAP_SPECULAR = raylib.SHADER_LOC_MAP_METALNESS
|
|
17
17
|
EPSILON: float = 1e-06
|
|
18
|
-
RLGL_VERSION: str = "
|
|
18
|
+
RLGL_VERSION: str = "5.0"
|
|
19
19
|
RL_DEFAULT_BATCH_BUFFER_ELEMENTS: int = 8192
|
|
20
20
|
RL_DEFAULT_BATCH_BUFFERS: int = 1
|
|
21
21
|
RL_DEFAULT_BATCH_DRAWCALLS: int = 256
|
|
@@ -86,6 +86,17 @@ RL_BLEND_SRC_RGB: int = 32969
|
|
|
86
86
|
RL_BLEND_DST_ALPHA: int = 32970
|
|
87
87
|
RL_BLEND_SRC_ALPHA: int = 32971
|
|
88
88
|
RL_BLEND_COLOR: int = 32773
|
|
89
|
+
RL_READ_FRAMEBUFFER: int = 36008
|
|
90
|
+
RL_DRAW_FRAMEBUFFER: int = 36009
|
|
91
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_POSITION: int = 0
|
|
92
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD: int = 1
|
|
93
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_NORMAL: int = 2
|
|
94
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_COLOR: int = 3
|
|
95
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_TANGENT: int = 4
|
|
96
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD2: int = 5
|
|
97
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_INDICES: int = 6
|
|
98
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_BONEIDS: int = 7
|
|
99
|
+
RL_DEFAULT_SHADER_ATTRIB_LOCATION_BONEWEIGHTS: int = 8
|
|
89
100
|
RL_SHADER_LOC_MAP_DIFFUSE = raylib.RL_SHADER_LOC_MAP_ALBEDO
|
|
90
101
|
RL_SHADER_LOC_MAP_SPECULAR = raylib.RL_SHADER_LOC_MAP_METALNESS
|
|
91
102
|
GL_SHADING_LANGUAGE_VERSION: int = 35724
|
|
@@ -102,6 +113,8 @@ GL_COMPRESSED_RGBA_ASTC_4x4_KHR: int = 37808
|
|
|
102
113
|
GL_COMPRESSED_RGBA_ASTC_8x8_KHR: int = 37815
|
|
103
114
|
GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: int = 34047
|
|
104
115
|
GL_TEXTURE_MAX_ANISOTROPY_EXT: int = 34046
|
|
116
|
+
GL_PROGRAM_POINT_SIZE: int = 34370
|
|
117
|
+
GL_LINE_WIDTH: int = 2849
|
|
105
118
|
GL_UNSIGNED_SHORT_5_6_5: int = 33635
|
|
106
119
|
GL_UNSIGNED_SHORT_5_5_5_1: int = 32820
|
|
107
120
|
GL_UNSIGNED_SHORT_4_4_4_4: int = 32819
|
|
@@ -113,19 +126,22 @@ RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL: str = "vertexNormal"
|
|
|
113
126
|
RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR: str = "vertexColor"
|
|
114
127
|
RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT: str = "vertexTangent"
|
|
115
128
|
RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2: str = "vertexTexCoord2"
|
|
129
|
+
RL_DEFAULT_SHADER_ATTRIB_NAME_BONEIDS: str = "vertexBoneIds"
|
|
130
|
+
RL_DEFAULT_SHADER_ATTRIB_NAME_BONEWEIGHTS: str = "vertexBoneWeights"
|
|
116
131
|
RL_DEFAULT_SHADER_UNIFORM_NAME_MVP: str = "mvp"
|
|
117
132
|
RL_DEFAULT_SHADER_UNIFORM_NAME_VIEW: str = "matView"
|
|
118
133
|
RL_DEFAULT_SHADER_UNIFORM_NAME_PROJECTION: str = "matProjection"
|
|
119
134
|
RL_DEFAULT_SHADER_UNIFORM_NAME_MODEL: str = "matModel"
|
|
120
135
|
RL_DEFAULT_SHADER_UNIFORM_NAME_NORMAL: str = "matNormal"
|
|
121
136
|
RL_DEFAULT_SHADER_UNIFORM_NAME_COLOR: str = "colDiffuse"
|
|
137
|
+
RL_DEFAULT_SHADER_UNIFORM_NAME_BONE_MATRICES: str = "boneMatrices"
|
|
122
138
|
RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE0: str = "texture0"
|
|
123
139
|
RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE1: str = "texture1"
|
|
124
140
|
RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2: str = "texture2"
|
|
125
141
|
RAYGUI_VERSION_MAJOR: int = 4
|
|
126
|
-
RAYGUI_VERSION_MINOR: int =
|
|
142
|
+
RAYGUI_VERSION_MINOR: int = 5
|
|
127
143
|
RAYGUI_VERSION_PATCH: int = 0
|
|
128
|
-
RAYGUI_VERSION: str = "4.
|
|
144
|
+
RAYGUI_VERSION: str = "4.5-dev"
|
|
129
145
|
SCROLLBAR_LEFT_SIDE: int = 0
|
|
130
146
|
SCROLLBAR_RIGHT_SIDE: int = 1
|
|
131
147
|
RAYGUI_ICON_SIZE: int = 16
|
|
@@ -149,6 +165,7 @@ RAYGUI_PANEL_BORDER_WIDTH: int = 1
|
|
|
149
165
|
RAYGUI_TABBAR_ITEM_WIDTH: int = 160
|
|
150
166
|
RAYGUI_MIN_SCROLLBAR_WIDTH: int = 40
|
|
151
167
|
RAYGUI_MIN_SCROLLBAR_HEIGHT: int = 40
|
|
168
|
+
RAYGUI_MIN_MOUSE_WHEEL_SPEED: int = 20
|
|
152
169
|
RAYGUI_TOGGLEGROUP_MAX_ITEMS: int = 32
|
|
153
170
|
RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN: int = 40
|
|
154
171
|
RAYGUI_TEXTBOX_AUTO_CURSOR_DELAY: int = 1
|
|
@@ -169,12 +186,10 @@ RAYGUI_TEXTFORMAT_MAX_SIZE: int = 256
|
|
|
169
186
|
PHYSAC_MAX_BODIES: int = 64
|
|
170
187
|
PHYSAC_MAX_MANIFOLDS: int = 4096
|
|
171
188
|
PHYSAC_MAX_VERTICES: int = 24
|
|
172
|
-
|
|
173
|
-
PHYSAC_COLLISION_ITERATIONS: int =
|
|
189
|
+
PHYSAC_CIRCLE_VERTICES: int = 24
|
|
190
|
+
PHYSAC_COLLISION_ITERATIONS: int = 20
|
|
174
191
|
PHYSAC_PENETRATION_ALLOWANCE: float = 0.05
|
|
175
192
|
PHYSAC_PENETRATION_CORRECTION: float = 0.4
|
|
176
|
-
PHYSAC_PI: float = 3.141592653589793
|
|
177
|
-
PHYSAC_DEG2RAD = PHYSAC_PI / 180.0
|
|
178
193
|
PHYSAC_FLT_MAX: float = 3.402823466e+38
|
|
179
194
|
PHYSAC_EPSILON: float = 1e-06
|
|
180
195
|
GLFW_VERSION_MAJOR: int = 3
|
|
@@ -423,12 +438,14 @@ GLFW_CONTEXT_RELEASE_BEHAVIOR: int = 139273
|
|
|
423
438
|
GLFW_CONTEXT_NO_ERROR: int = 139274
|
|
424
439
|
GLFW_CONTEXT_CREATION_API: int = 139275
|
|
425
440
|
GLFW_SCALE_TO_MONITOR: int = 139276
|
|
441
|
+
GLFW_SCALE_FRAMEBUFFER: int = 139277
|
|
426
442
|
GLFW_COCOA_RETINA_FRAMEBUFFER: int = 143361
|
|
427
443
|
GLFW_COCOA_FRAME_NAME: int = 143362
|
|
428
444
|
GLFW_COCOA_GRAPHICS_SWITCHING: int = 143363
|
|
429
445
|
GLFW_X11_CLASS_NAME: int = 147457
|
|
430
446
|
GLFW_X11_INSTANCE_NAME: int = 147458
|
|
431
447
|
GLFW_WIN32_KEYBOARD_MENU: int = 151553
|
|
448
|
+
GLFW_WIN32_SHOWDEFAULT: int = 151554
|
|
432
449
|
GLFW_WAYLAND_APP_ID: int = 155649
|
|
433
450
|
GLFW_NO_API: int = 0
|
|
434
451
|
GLFW_OPENGL_API: int = 196609
|
|
@@ -461,6 +478,8 @@ GLFW_ANGLE_PLATFORM_TYPE_D3D9: int = 225284
|
|
|
461
478
|
GLFW_ANGLE_PLATFORM_TYPE_D3D11: int = 225285
|
|
462
479
|
GLFW_ANGLE_PLATFORM_TYPE_VULKAN: int = 225287
|
|
463
480
|
GLFW_ANGLE_PLATFORM_TYPE_METAL: int = 225288
|
|
481
|
+
GLFW_WAYLAND_PREFER_LIBDECOR: int = 229377
|
|
482
|
+
GLFW_WAYLAND_DISABLE_LIBDECOR: int = 229378
|
|
464
483
|
GLFW_ANY_POSITION: int = 2147483648
|
|
465
484
|
GLFW_ARROW_CURSOR: int = 221185
|
|
466
485
|
GLFW_IBEAM_CURSOR: int = 221186
|
|
@@ -480,6 +499,7 @@ GLFW_PLATFORM: int = 327683
|
|
|
480
499
|
GLFW_COCOA_CHDIR_RESOURCES: int = 331777
|
|
481
500
|
GLFW_COCOA_MENUBAR: int = 331778
|
|
482
501
|
GLFW_X11_XCB_VULKAN_SURFACE: int = 335873
|
|
502
|
+
GLFW_WAYLAND_LIBDECOR: int = 339969
|
|
483
503
|
GLFW_ANY_PLATFORM: int = 393216
|
|
484
504
|
GLFW_PLATFORM_WIN32: int = 393217
|
|
485
505
|
GLFW_PLATFORM_COCOA: int = 393218
|