Ray
f7d03efb49
REVIEWED: `DecodeDataBase64()`, follow convention:
- All `char *` refer to text strings
- All `unsigned char *` refer to generic byte arrays
7 months ago
Ray
3083f0cd43
REVIEWED: `SaveFileText()`, const input text
7 months ago
Ray
693c9c292a
Formatting tweaks
7 months ago
Jeffery Myers
ebaa922f6b
Properly clean up the default font on unload, it may be reused if the window is created again
7 months ago
Ray
7e07278368
Update rprand.h
7 months ago
Karl Zylinski
a15548fb5a
Add normals to DrawSphereEx
7 months ago
Jeffery Myers
ee2ab11cc5
Use the animated verts and normals in GL 1.1 if they exist
7 months ago
Jeffery Myers
95c96b345c
Use the animated verts and normals in GL 1.1 if they exist
7 months ago
Jeffery Myers
e53a43b7b5
Assign meshes without bone weights to the bone they are attached to so they animate.
7 months ago
Bigfoot71
38aec920b5
makes `path` static in `ScanDirectoryFilesRecursively`
7 months ago
Bigfoot71
03988d2ce8
added a NULL check in `UnloadDirectoryFiles`
7 months ago
Jeffery Myers
94c5de33a0
Make the default font loadable before InitWindow, for use with the image API.
Make the default font loader early out if we have already loaded parts of it, so we don't leak memory
7 months ago
Duy Tran
f0de896f36
cmake: replace custom variable with built-in one
7 months ago
Ivan Ugryumov
ec5ce8c7fe
Update raudio.c
7 months ago
Gavin Rohrer
10478ff756
Revert GLFW_SCALE_FRAMEBUFFER to pre GLFW 4.3 behavior
7 months ago
Le Juez Victor
461c9c9d90
review tabs
7 months ago
Le Juez Victor
a7333a9dae
review near/far
7 months ago
Jeffery Myers
0f6b9ee738
format math the way ray likes it
8 months ago
Jeffery Myers
5185d4c427
use the device channels and sample size when computing the default buffer size.
8 months ago
d.isakov
42a40b3920
move first mesh bones calculation under check for its presense
8 months ago
d.isakov
b4f1ff9a00
#4888 fix UpdateModelAnimationBones scale transform
8 months ago
AndrewHamel111
fdb92b373b
Warning to direct users to appropriate function
8 months ago
Ray
5b940692ea
REVIEWED: `ExportFontAsCode()` not checking `isGpuReady` #4894
8 months ago
Ray
80fcca4155
Update rcore_desktop_glfw.c
8 months ago
Ray
cc5739a6d7
REVIEWED: Some PRs formating
8 months ago
Jeffery Myers
60eb3a14d7
Only scale the screenshot by the DPI scale if we are doing automatic High DPI scaling, otherwise the native resolution is correct.
8 months ago
Eike Decker
1c4aa1378f
[rcore][SDL2] First touch position is overwritten with mouse pos
I believe it makes sense to only do this when there are no known
touch points. I am not even sure if this should be done at all.
See https://github.com/raysan5/raylib/issues/4872 for more information.
8 months ago
Ray
1a67dcb578
REVIEWED: RGB order on SDL3 #3568
8 months ago
Jonathan Marler
af16f7823a
Improve description of RestoreWindow
Restore window currently says it sets the window state to:
"not minimized/maximized"
However, if a window is maximized and then minimized, it's typical that
it would restore back to being maximized, which is what seems to happen
from my testing. I've reworded the description to better reflect
this behavior.
8 months ago
MikiZX1
55c6864092
Update rcore_desktop_sdl.c
raylib app crashing when started and a gamepad is already connected to the PC (even if the gamepad is not used in the app). I only tested this with a gamepad that has a layout which is not recognized. Using SDL3 as backend.
8 months ago
Ray
3d83c1c796
Format tweak
8 months ago
Ray
909c83fd4a
Avoid path filtering on `TakeScreenshot()`
8 months ago
Ray
63e608d485
comment tweak
8 months ago
sleeptightAnsiC
8e9c3ceb57
[rcore] fix: TRACELOG upon successfully changing directory
InitWindow() prints CWD during initialization,
but ChangeDirectory() does not, which is quite confusing when you start
messing with CWD. Now said function should log similar message.
8 months ago
Ray
46cd07d2c7
WARNING: REVERTED CHANGE THAT BROKE BATCHING!!! #4849
I'm sorry... I did not detect this change was breaking batching... :(
8 months ago
Ray
266fba1111
Minor tweaks
8 months ago
Myrddin Krustowski
589ad0a33d
Add early return to circle sector functions when angles are equal.
Prevents unnecessary work and division by zero (when segments=0) in DrawCircleSector/DrawCircleSectorLines when startAngle equals endAngle, matching existing behavior in DrawRing/DrawRingLines.
9 months ago
Jeffery Myers
d56ab670c3
spaces not tabs
9 months ago
Ray
cb830bed72
Increased depth size and clip distances to avoid z-fighting issues
9 months ago
Ray
d0e638cc31
REVIEWED: Platform DRM messages...
9 months ago
Jeffery Myers
4bed3741c1
Unscale the window size on resize if we are doing automatic HighDPI scaling.
9 months ago
Ray
749a512f13
REVIEWED: `ScanDirectoryFiles*()` #4833
9 months ago
Nia Nightglow
fffbbad2f7
Guard against DEBUG Redefinition
Undefine DEBUG to avoid external redefinition
warnings/conflicts. This is probably a common
definition for many external build systems'
debug configurations.
This ensures raylib will not emit
a warning about the DEBUG definition being
redefined in external build systems.
9 months ago
MykBamberg
daa2921476
[rcore] Use snprintf to prevent buffer overflow in path construction
9 months ago
Rico P
0934cdba48
fix C++ style cast
9 months ago
Rico P
7dc409d060
potential fix for MSVC compile error
9 months ago
Rico P
e7872a700d
update sinfl_bsr
9 months ago
Ray
7f8bf2233c
REVIEWED: Formating to follow raylib conventions
9 months ago
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
9 months ago
Ray
4c8c72778d
Remove trailing spaces
9 months ago