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 година
Asdqwe
b8c0842b2e
Fix SetWindowSize() for PLATFORM_WEB ( #4452 )
преди 1 година
Arche Washi
3bad05aa7b
fix the issue with GetScreenWidth/GetScreenHeight that was identified on other platforms ( #4451 )
преди 1 година
Ray
d15e583460
Update rtext.c
преди 1 година
Ray
10c8e4e435
Update rcore_desktop_glfw.c
преди 1 година
Jeffery Myers
743e557e1e
Fix inconsistent dll linkage warning on windows ( #4447 )
преди 1 година
mpv-enjoyer
de7ab83f5a
Fix empty input string for MeasureTextEx ( #4448 )
преди 1 година
Jeffery Myers
0e1fc33c5c
Fix signed/unsigned mismatch in rlgl ( #4443 )
преди 1 година
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 година
Nikolas
38cf9f3224
[rtextures] LoadTextureCubemap(): Copy image before generating mipmaps, to avoid dangling re-allocated pointers ( #4439 )
преди 1 година
Ray
7ad8fa689f
REVIEWED: `LoadTextureCubemap()` to avoid crash #4429
преди 1 година
Ray
ec79bffa20
Update stb_truetype.h
преди 1 година
Ray
dc679cd1c7
Update stb_image_resize2.h
преди 1 година
Ray
28e7e2cffd
Update stb_image.h
преди 1 година
Ray
d0e11a8c92
Update qoa.h
преди 1 година
Ray
e70bf2bce1
Update dr_wav.h
преди 1 година
Ray
c085c73014
Update dr_mp3.h
преди 1 година
Ray
c6b1ecc593
Update cgltf.h
преди 1 година
Ray
1f6b3384fa
Reviewed formatting, remove end-line points, for consistency with comments
преди 1 година
Ray
80b490c8f1
Reviewed formating to follow raylib conventions #4429
преди 1 година
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 година
Ray
4e3fc84050
Minor format tweaks
преди 1 година
Ray
22c77d17b7
REVIEWED: WebGL2 (OpenGL ES 3.0) backend flags (PLATFORM_WEB) #4330
преди 1 година
Ray
16368cd353
REVIEWED: `DrawRectangleLines()`, considering view matrix for lines "alignment"
преди 1 година
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 година
Ray
6ff0b03629
REVIEWED: `UpdateModelAnimationBoneMatrices()` comments
преди 1 година
Ray
5065b85d33
Update rlgl.h
преди 1 година
Ray
b0140b876b
REVIEWED: GPU skninning on Web, some gotchas! #4412
преди 1 година
Ray
3483a4d9cb
Update raylib.h
преди 1 година
Ray
5706cfd600
Update Makefile
преди 1 година
Ray
d85c6fe2c0
Update raylib.h
преди 1 година
Ray
2072b4fa04
Update raylib.h
преди 1 година
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 година
Ray
00c1f0836b
Update Makefile
преди 1 година
Ray
708089f560
Reviewed and reverted unneeded module check, `rtextures` should not depend on `rtext`
преди 1 година
Franz
6f4407cb15
Fix typo in rshapes.c ( #4421 )
преди 1 година
Asdqwe
7a4a84a561
[rcore] Fix #4405 ( #4420 )
* Fix #4405 at runtime
* Add parameter validation
* Remove default global deadzone
преди 1 година
Ray
4b60ce700f
Update raylib.h
преди 1 година
Ray
352f4ce2c4
Update config.h
преди 1 година
Asdqwe
4cd243f0a3
Simplify EmscriptenResizeCallback() ( #4415 )
преди 1 година
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 година
Ray
f4cbc1fbae
REVIEWED: `GetGestureHoldDuration()` comments
преди 1 година
Jeffery Myers
a2fcbc94fd
[Raymath] Add matrix operators to raymath for C++ ( #4409 )
* Add matrix operators to raymath for C++
* Fix spaces
преди 1 година
Ray
f60c6d472c
Update raymath.h
преди 1 година
Ray
f141c75cde
Removed trailing spaces
преди 1 година
Ray
c935ca3168
Reviewed formatting #4408
преди 1 година
Rapha
f402147a63
Updated instanced rendering support loading ( #4408 )
преди 1 година
Ray
7601468211
REVIEWED: Formatting and raymath version #4385
преди 1 година
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 година
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 година