Commit Graph

73 Commits

Author SHA1 Message Date
Anthony Carbajal 3c5bdae7ab
update shapes bouncing ball (#4226) 2024-08-09 09:16:05 +02:00
Anthony Carbajal 5233b80fb7
update raygui (#4238) 2024-08-09 08:55:16 +02:00
kai-z99 97c02b2425
[examples] Fix some examples (#4211)
* Add text

* small typo
2024-08-07 01:05:53 +02:00
Jeffery Myers e96bab7ce6
[Build] Fix warnings when building in VS 2022 (#4095)
* Update raylib_api.* by CI

* Fix warnings when building examples in MSVC 2022

* fix auto-format that sneaked in there.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 17:47:32 +02:00
Ray 715633e0de REVIEWED: Spline cubic bezier example 2024-06-16 10:41:47 +02:00
Santiago Pelufo 640eaca8bf
[rshapes] Fix multisegment Bezier splines. (#3744)
* [rshapes] Fix multisegment Bezier splines.

It seems to me that these functions are wrong, if you step the index by 1 you move to a control point instead of the next segment.

* Fix example shapes/shapes_splines_drawing for bezier splines.

* Draw circles to fill gaps between bezier segments.
2024-06-16 10:21:54 +02:00
Ray 77cabc8bf2 Update shapes_draw_rectangle_rounded.c 2024-04-20 20:32:37 +02:00
Hongyu Ouyang 721e273547
Fix a bug in examples/shapes/shapes_following_eyes (#3710) 2024-01-06 11:32:10 +01:00
Ray 3afb4dda97 Update raygui.h 2024-01-05 22:32:59 +01:00
Ray 3f1e59a7cf Update copyright to 2024 2024-01-02 20:58:12 +01:00
Ray 21dc42d2ad Updated examples 2023-11-09 09:53:25 +01:00
Ray c69b89cc42 Update example: shapes_splines_drawing 2023-11-09 02:01:00 +01:00
Ray 040b945fef Reviewed some examples and warnings 2023-11-08 20:09:32 +01:00
Ray bbf0c3a46d REVIEWED: Added new examples to VS2022 solution 2023-11-08 17:41:08 +01:00
Ray 4b87cc455d Update shapes_splines_drawing.c 2023-11-07 19:58:45 +01:00
Ray f01d3db739 ADDED: `GetSplinePoint*()` functions for spline evaluation
RENAMED: `DrawLine<spline_type>()` to `DrawSpline<spline_type>()` for more consistent and clear naming
REVIEWED: Bezier drawing parameters order, more consistent
REVIEWED: Spline-based examples -WIP-
2023-11-07 19:25:49 +01:00
Jeffery Myers 6cd37e57a6
Fix warnings in visual studio (#3512) 2023-11-06 20:31:07 +01:00
Ray fc21a8e552 Update raygui.h 2023-11-06 20:14:40 +01:00
Ray f7c3035b8c Update raygui.h 2023-09-24 23:51:23 +02:00
Ray 1896268775 Reviewed examples for consistency 2023-09-08 13:27:13 +02:00
Asdqwe 927a030bbf
Fix examples/shapes/shapes_collision_area.c help instructions (#3279) 2023-08-30 22:43:19 +02:00
Ray 6aada7d5ec Updated examples to `raygui 4.0-dev` 2023-06-09 18:07:25 +02:00
Mingjie Shen 7b7c0c83ef
Fix offset used before range check (#3021)
This use of offset 'i' should follow the range check.
2023-04-22 10:13:11 +02:00
Nikolas 89171a2608
Add WASM support for Zig build (#2901)
* Add WASM support for Zig build

* Improve Web example building

* Remove emscript example building with Zig again

* Readd windows emscripten variables
2023-02-01 11:09:03 +01:00
Jeffery Myers 81ca2f0bf3
Fix warnings and bad project settings for 4.5 release (#2894) 2023-01-27 19:20:42 +01:00
Ray e2a8066fca Update year to 2023 2023-01-01 16:07:51 +01:00
Ray b59fab7ee6 Update year to 2023 2023-01-01 16:00:56 +01:00
Dor Shapira bcb47255b9
fixing typo (#2781)
fixing typo
2022-10-26 17:14:52 +02:00
Ray e59442bfab REMOVED: `rlPushMatrix()`/`rlPopMatrix()` from `rshapes`
This simplification will allow the usage of `rshapes` as STANDALONE mode in a future. Only a small set of `rlgl` functions are required and they can be "more" easely replaced if no `rlPushMatrix()`/`rlPopMatrix()` are involved.

More simplification planned for the future, maybe the textures dependencies.
2022-09-05 18:23:25 +02:00
moosey f049f9dd3a
Tiny documentation fix in reasings.h (#2640) 2022-08-15 09:15:43 +02:00
Ray b79df1c329 Updated easings examples 2022-08-02 18:55:49 +02:00
Ray 0ce8a8f360 Remove `easings.h` from raylib/src, moved to examples 2022-08-02 18:31:57 +02:00
Ray 24e6bf0565 Update shapes_draw_ring.c 2022-08-02 09:58:56 +02:00
Ray 4a9391ae83 REVIEWED: examples descriptions 2022-07-20 01:28:37 +02:00
Ray c1b01c0d5d Added new comment to examples 2022-06-21 19:53:18 +02:00
Ray d37a63fad7 Reviewed easings include 2022-06-12 23:01:48 +02:00
Ray 609d92003b WARNING: REMOVED `raygui` from `raylib/src/extras` 2022-06-06 11:11:39 +02:00
Ray ca12ef48e9 Fixes #2408 2022-03-24 11:44:52 +01:00
raysan5 61d0c71b3c REVIEWED: example: shapes_top_down_lights 2022-01-16 18:07:11 +01:00
Jeffery Myers 4b998cfd05
[Examples] Top down lights example (#2199)
* Start 2d lights example.

* finish example

* update image.

* Cleanup render textures

* Fixes to handle shadows on edges that are near to the light better.

* tabs

* move to shapes

Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2022-01-16 17:47:17 +01:00
Jeffery Myers daeccd03ac
Fix VC warnings for examples (#2085) 2021-10-25 10:21:16 +02:00
raysan5 c219fc02cd Review includes to use extras libraries 2021-07-28 17:29:49 +02:00
raysan5 a9230a6c07 Update shapes_logo_raylib_anim.c 2021-07-28 12:50:18 +02:00
raysan5 0624af09fd Update raygui.h 2021-06-26 21:11:34 +02:00
Lambert Wang e39e45824d
Add RenderPolyLinesEx routine (#1758)
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-10 20:08:58 +02:00
Lambert Wang 2545f62565
Added support for additional mouse buttons (#1753)
* Added support for additional mouse buttons

* Renamed mouse button enum

Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-08 18:26:24 +02:00
Jeffery Myers 6c518008a5
Fixes for 64 bit typecast warnings (#1733) 2021-04-25 18:50:26 +02:00
Ray dcf52c132f Remove trail spaces 2021-04-22 18:55:24 +02:00
frithrah b2545e053a
Minimum number of segments in circle sector functions changed from hard-coded to based on degree range. (#1707)
Co-authored-by: Simon <simon@frithrah.com>
2021-04-06 14:29:58 +02:00
frithrah 2f367a905e
Changed DrawRing and DrawCircleSector angle params from int to float to allow greater accuracy. (#1656)
Co-authored-by: Simon <simon@frithrah.com>
2021-03-19 19:13:55 +01:00