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