MikiZX1
1ffc687ef5
Update rmodels.c - 'fix' for GenMeshSphere artifact
When creating a new sphere mesh with high number of slices/rings the top and bottom parts of the generated sphere are removed. This happens because the triangles in those parts, due to high resolution, end up being very small and are removed as part of the 'par_shapes' library's optimization. Adding par_shapes_set_epsilon_degenerate_sphere(0.0); before generating the sphere mesh sets the threshold for removal of small triangles is removed and the sphere is returned to raylib correctly.
1 ano atrás
Asdqwe
b8c0842b2e
Fix SetWindowSize() for PLATFORM_WEB ( #4452 )
1 ano atrás
Arche Washi
3bad05aa7b
fix the issue with GetScreenWidth/GetScreenHeight that was identified on other platforms ( #4451 )
1 ano atrás
Ray
d15e583460
Update rtext.c
1 ano atrás
Ray
10c8e4e435
Update rcore_desktop_glfw.c
1 ano atrás
Jeffery Myers
743e557e1e
Fix inconsistent dll linkage warning on windows ( #4447 )
1 ano atrás
mpv-enjoyer
de7ab83f5a
Fix empty input string for MeasureTextEx ( #4448 )
1 ano atrás
Jeffery Myers
0e1fc33c5c
Fix signed/unsigned mismatch in rlgl ( #4443 )
1 ano atrás
Colleague Riley
7fe5f7126b
Fix MSVC errors for PLATFORM_DESKTOP_RGFW ( #4441 )
* (rcore_desktop_rgfw.c) fix errors when compiling with mingw
* define WideCharToMultiByte
* update RGFW
* move stdcall def to windows only
* fix raw cursor input
* Fix warnings, update RGFW, fix msvc errors (make sure windows macro _WIN32 is correct)
1 ano atrás
Nikolas
38cf9f3224
[rtextures] LoadTextureCubemap(): Copy image before generating mipmaps, to avoid dangling re-allocated pointers ( #4439 )
1 ano atrás
Ray
7ad8fa689f
REVIEWED: `LoadTextureCubemap()` to avoid crash #4429
1 ano atrás
Ray
ec79bffa20
Update stb_truetype.h
1 ano atrás
Ray
dc679cd1c7
Update stb_image_resize2.h
1 ano atrás
Ray
28e7e2cffd
Update stb_image.h
1 ano atrás
Ray
d0e11a8c92
Update qoa.h
1 ano atrás
Ray
e70bf2bce1
Update dr_wav.h
1 ano atrás
Ray
c085c73014
Update dr_mp3.h
1 ano atrás
Ray
c6b1ecc593
Update cgltf.h
1 ano atrás
Ray
1f6b3384fa
Reviewed formatting, remove end-line points, for consistency with comments
1 ano atrás
Ray
80b490c8f1
Reviewed formating to follow raylib conventions #4429
1 ano atrás
Nikolas
7fedf9e0b8
[rtextures/rlgl] Load mipmaps for cubemaps ( #4429 )
* [rlgl] Load cubemap mipmaps
* [rtextures] Only generate mipmaps that don't already exist
* [rtextures] ImageDraw(): Implement drawing to mipmaps
* [rtextures] Load cubemap mipmaps
1 ano atrás
Ray
4e3fc84050
Minor format tweaks
1 ano atrás
Ray
22c77d17b7
REVIEWED: WebGL2 (OpenGL ES 3.0) backend flags (PLATFORM_WEB) #4330
1 ano atrás
Ray
16368cd353
REVIEWED: `DrawRectangleLines()`, considering view matrix for lines "alignment"
1 ano atrás
RadsammyT
385187f795
[rshapes] Review `DrawRectangleLines()` pixel offset ( #4261 )
* [rshapes] Remove `DrawRectangleLines()`'s + 1 offset
* ... and replace it with a -/+ 0.5 offset divided by current cam's zoom.
1 ano atrás
Ray
6ff0b03629
REVIEWED: `UpdateModelAnimationBoneMatrices()` comments
1 ano atrás
Ray
5065b85d33
Update rlgl.h
1 ano atrás
Ray
b0140b876b
REVIEWED: GPU skninning on Web, some gotchas! #4412
1 ano atrás
Ray
3483a4d9cb
Update raylib.h
1 ano atrás
Ray
5706cfd600
Update Makefile
1 ano atrás
Ray
d85c6fe2c0
Update raylib.h
1 ano atrás
Ray
2072b4fa04
Update raylib.h
1 ano atrás
Jeffery Myers
0b650f62a6
[RTEXTURES] Remove the panorama cubemap layout option ( #4425 )
* Remove the panorama cubemap layout, it was not implemented.
Left a todo in the code for some aspiring developer to finish.
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 ano atrás
Ray
00c1f0836b
Update Makefile
1 ano atrás
Ray
708089f560
Reviewed and reverted unneeded module check, `rtextures` should not depend on `rtext`
1 ano atrás
Franz
6f4407cb15
Fix typo in rshapes.c ( #4421 )
1 ano atrás
Asdqwe
7a4a84a561
[rcore] Fix #4405 ( #4420 )
* Fix #4405 at runtime
* Add parameter validation
* Remove default global deadzone
1 ano atrás
Ray
4b60ce700f
Update raylib.h
1 ano atrás
Ray
352f4ce2c4
Update config.h
1 ano atrás
Asdqwe
4cd243f0a3
Simplify EmscriptenResizeCallback() ( #4415 )
1 ano atrás
Asdqwe
f8f6aa0907
[rcore] Adds implementation to `SetGamepadVibration()` on `PLATFORM_WEB` and updates it on `PLATFORM_DESKTOP_SDL` to handle duration ( #4410 )
* Updates SetGamepadVibration()
* Handle MAX_GAMEPAD_VIBRATION_TIME
* Revert low/high parameters back to left/rightMotor
* Fix missin semicolon
* Convert duration to seconds
* Add SetGamepadVibration() implementation to PLATFORM_WEB
1 ano atrás
Ray
f4cbc1fbae
REVIEWED: `GetGestureHoldDuration()` comments
1 ano atrás
Jeffery Myers
a2fcbc94fd
[Raymath] Add matrix operators to raymath for C++ ( #4409 )
* Add matrix operators to raymath for C++
* Fix spaces
1 ano atrás
Ray
f60c6d472c
Update raymath.h
1 ano atrás
Ray
f141c75cde
Removed trailing spaces
1 ano atrás
Ray
c935ca3168
Reviewed formatting #4408
1 ano atrás
Rapha
f402147a63
Updated instanced rendering support loading ( #4408 )
1 ano atrás
Ray
7601468211
REVIEWED: Formatting and raymath version #4385
1 ano atrás
Jeffery Myers
72f8c354b0
[Raymath] Add C++ operator overloads for common math function ( #4385 )
* Update raylib_api.* by CI
* Add math operators for C++ to raymath
* better #define for disabling C++ operators
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 ano atrás
Sage Hane
110ee74875
build.zig: Merge `src/build.zig` to `build.zig` ( #4393 )
* build.zig: Move `src/build.zig` to `build.zig`
* build.zig: Remove uses of `@src`
* build.zig: Update entry point
1 ano atrás