Ray
aa475b1046
REVIEWED: Code sections description for consistency
1 kuukausi sitten
Ray
b6ae380260
REVIEWED: Examples comments, consistent code sections
1 kuukausi sitten
JohnnyCena123
0e73e0ea64
reviewed ALL non-external files to follow raylib's convention of no spaces around / or * ( #5153 )
1 kuukausi sitten
Hamza RAHAL
507c85900f
fix: [digital_clock] minute hand doesn't appear ( #5151 )
1 kuukausi sitten
Ray
a72b4b177b
Updated examples short description
1 kuukausi sitten
Ray
4d0c3affaa
REXM: Update examples and lists
1 kuukausi sitten
Ray
570082deba
`WARNING`: **NEW** raylib code CONVENTION: Comments do not end with '.'
2 kuukautta sitten
Ray
f0889a74fe
EXAMPLES: Format tweaks
2 kuukautta sitten
Ray
f02c7fca8a
Update shapes_double_pendulum.c
2 kuukautta sitten
Joecheong2006
10fadd9185
Replaced scalar to float
2 kuukautta sitten
Joecheong2006
b6ae5af4e3
Removed redefined RAD and DEG
2 kuukautta sitten
Joecheong2006
8a0ab163d3
Changed to 4 spaces
2 kuukautta sitten
Joecheong2006
f1714a6234
[examples]: New shapes example - double pendulum
2 kuukautta sitten
Ray
8a3a8ee8e3
Update shapes_digital_clock.c
4 kuukautta sitten
Ray
5f497d0687
REVIEWED: `shapes_digital_clock` example
4 kuukautta sitten
Hamza RAHAL
3f228f4594
[examples] : adding new fancy clock
4 kuukautta sitten
Meowster
6d5aedbd38
Add DrawEllipseV and DrawEllipseLinesV
4 kuukautta sitten
Amy Wilder
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
7 kuukautta sitten
sleeptightAnsiC
f430d72a8c
[examples] fix: use quotation marks when including raylib.h ( #4821 )
...so it will always prioritize local version of raylib instead of
system-wide installations, which is a huge problem when testing any
changes done locally to raylib as it might cause silent mismatch issues.
There were only 4 examples affected by this issue which were using
`#include <raylib.h>`. Other examples use proper `#include "raylib.h"`
Fixes: https://github.com/raysan5/raylib/issues/4820
7 kuukautta sitten
Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
8 kuukautta sitten
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
8 kuukautta sitten
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
9 kuukautta sitten
Jeffery Myers
a2f6ae6796
Fix warnings in examples ( #4492 )
Move shapes/shapes_rectangle_advanced to the correct folder in MSVC project
Add core_input_virtual_controls.vcxproj back into sln file
11 kuukautta sitten
Ray
14d3bbbb86
Update raygui.h
11 kuukautta sitten
Everton Jr.
ad79d4a884
[shapes] Add `shapes_rectangle_advanced ` example implementing a `DrawRectangleRoundedGradientH` function ( #4435 )
* [rshapes] Add function
* "[shapes] rectangle advanced: fix screen width and height to fit with other examples"
11 kuukautta sitten
Anthony Carbajal
3c5bdae7ab
update shapes bouncing ball ( #4226 )
1 vuosi sitten
Anthony Carbajal
5233b80fb7
update raygui ( #4238 )
1 vuosi sitten
kai-z99
97c02b2425
[examples] Fix some examples ( #4211 )
* Add text
* small typo
1 vuosi sitten
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>
1 vuosi sitten
Ray
715633e0de
REVIEWED: Spline cubic bezier example
1 vuosi sitten
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.
1 vuosi sitten
Ray
77cabc8bf2
Update shapes_draw_rectangle_rounded.c
1 vuosi sitten
Hongyu Ouyang
721e273547
Fix a bug in examples/shapes/shapes_following_eyes ( #3710 )
1 vuosi sitten
Ray
3afb4dda97
Update raygui.h
1 vuosi sitten
Ray
3f1e59a7cf
Update copyright to 2024
1 vuosi sitten
Ray
21dc42d2ad
Updated examples
1 vuosi sitten
Ray
c69b89cc42
Update example: shapes_splines_drawing
1 vuosi sitten
Ray
040b945fef
Reviewed some examples and warnings
1 vuosi sitten
Ray
bbf0c3a46d
REVIEWED: Added new examples to VS2022 solution
1 vuosi sitten
Ray
4b87cc455d
Update shapes_splines_drawing.c
1 vuosi sitten
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-
1 vuosi sitten
Jeffery Myers
6cd37e57a6
Fix warnings in visual studio ( #3512 )
1 vuosi sitten
Ray
fc21a8e552
Update raygui.h
1 vuosi sitten
Ray
f7c3035b8c
Update raygui.h
2 vuotta sitten
Ray
1896268775
Reviewed examples for consistency
2 vuotta sitten
Asdqwe
927a030bbf
Fix examples/shapes/shapes_collision_area.c help instructions ( #3279 )
2 vuotta sitten
Ray
6aada7d5ec
Updated examples to `raygui 4.0-dev`
2 vuotta sitten
Mingjie Shen
7b7c0c83ef
Fix offset used before range check ( #3021 )
This use of offset 'i' should follow the range check.
2 vuotta sitten
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
2 vuotta sitten
Jeffery Myers
81ca2f0bf3
Fix warnings and bad project settings for 4.5 release ( #2894 )
2 vuotta sitten