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