Ray
f7c3035b8c
Update raygui.h
1 year ago
Ray
1896268775
Reviewed examples for consistency
1 year ago
Asdqwe
927a030bbf
Fix examples/shapes/shapes_collision_area.c help instructions ( #3279 )
1 year ago
Ray
6aada7d5ec
Updated examples to `raygui 4.0-dev`
1 year ago
Mingjie Shen
7b7c0c83ef
Fix offset used before range check ( #3021 )
This use of offset 'i' should follow the range check.
1 year ago
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
1 year ago
Jeffery Myers
81ca2f0bf3
Fix warnings and bad project settings for 4.5 release ( #2894 )
1 year ago
Ray
e2a8066fca
Update year to 2023
2 years ago
Ray
b59fab7ee6
Update year to 2023
2 years ago
Dor Shapira
bcb47255b9
fixing typo ( #2781 )
fixing typo
2 years ago
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.
2 years ago
moosey
f049f9dd3a
Tiny documentation fix in reasings.h ( #2640 )
2 years ago
Ray
b79df1c329
Updated easings examples
2 years ago
Ray
0ce8a8f360
Remove `easings.h` from raylib/src, moved to examples
2 years ago
Ray
24e6bf0565
Update shapes_draw_ring.c
2 years ago
Ray
4a9391ae83
REVIEWED: examples descriptions
2 years ago
Ray
c1b01c0d5d
Added new comment to examples
2 years ago
Ray
d37a63fad7
Reviewed easings include
2 years ago
Ray
609d92003b
WARNING: REMOVED `raygui` from `raylib/src/extras`
2 years ago
Ray
ca12ef48e9
Fixes #2408
2 years ago
raysan5
61d0c71b3c
REVIEWED: example: shapes_top_down_lights
2 years ago
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>
2 years ago
Jeffery Myers
daeccd03ac
Fix VC warnings for examples ( #2085 )
3 years ago
raysan5
c219fc02cd
Review includes to use extras libraries
3 years ago
raysan5
a9230a6c07
Update shapes_logo_raylib_anim.c
3 years ago
raysan5
0624af09fd
Update raygui.h
3 years ago
Lambert Wang
e39e45824d
Add RenderPolyLinesEx routine ( #1758 )
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
3 years ago
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>
3 years ago
Jeffery Myers
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
3 years ago
Ray
dcf52c132f
Remove trail spaces
3 years ago
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>
3 years ago
frithrah
2f367a905e
Changed DrawRing and DrawCircleSector angle params from int to float to allow greater accuracy. ( #1656 )
Co-authored-by: Simon <simon@frithrah.com>
3 years ago
Rabia Alhaffar
e300d268f9
Fixed problem related to `IsKeyPressed` function! ( #1589 )
3 years ago
badlydrawnrod
6631fc4c6d
Fix use of GuiSliderBar in examples. ( #1470 )
4 years ago
raysan5
ea0f6c7a26
Replace TABS by 4 spaces
4 years ago
raysan5
b68e522ffc
Updated several files while porting examples to web
4 years ago
Ray
41192c6d4a
Replace 0.f by 0.0f
4 years ago
Ray
a4ea9f872f
Review "aggregate initializations" #1403
4 years ago
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
4 years ago
raysan5
153f078bd1
Update raygui.h
5 years ago
raysan5
9a478bef1a
Avoid ricons.h
5 years ago
raysan5
f46ffb98a6
Update raygui.h
5 years ago
Ray
87774a0a21
Review variables initialization
5 years ago
Ray
b525039e0a
Review ALL examples
5 years ago
Ray
424d3ca8d9
examples review
Redesigns, deletes and renames
Also noted authors propertly on contributed examples
5 years ago
Ray
4c33d38812
Avoid warnings pre-evaluating values
Variable operations inside the functions should be evaluated before the function operations.
5 years ago
Ray
0fe409bfa9
Renamed example
5 years ago
Ray
62f1511e5f
Batch of 9 new shapes examples!
Some examples included in this batch require the included libraries: `easings.h` and `raygui.h`. Examples included:
- shapes_bouncing_ball
- shapes_collision_area
- shapes_following_eyes
- shapes_draw_circle_sector (requires raygui.h)
- shapes_draw_rectangle_rounded (requires raygui.h)
- shapes_draw_ring (requires raygui.h)
- shapes_easings_ball_anim (requires easings.h)
- shapes_easings_box_anim (requires easings.h)
- shapes_easings_rectangle_array (requires easings.h)
5 years ago
Ray
e54a74f4e7
new example: shapes_rectangle_scaling_mouse
5 years ago
raysan5
01338b0a14
WARNING: BREAKING CHANGE
Added a bunch of useful text management functions.
Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names.
raylib version bumped to 2.3.
6 years ago