summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes
AgeCommit message (Collapse)Author
2022-09-05REMOVED: `rlPushMatrix()`/`rlPopMatrix()` from `rshapes`Ray
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-08-15Tiny documentation fix in reasings.h (#2640)moosey
2022-08-02Updated easings examplesRay
2022-08-02Remove `easings.h` from raylib/src, moved to examplesRay
2022-08-02Update shapes_draw_ring.cRay
2022-07-20REVIEWED: examples descriptionsRay
2022-06-21Added new comment to examplesRay
2022-06-12Reviewed easings includeRay
2022-06-06WARNING: REMOVED `raygui` from `raylib/src/extras`Ray
2022-03-24Fixes #2408Ray
2022-01-16REVIEWED: example: shapes_top_down_lightsraysan5
2022-01-16[Examples] Top down lights example (#2199)Jeffery Myers
* 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 <[email protected]>
2021-10-25Fix VC warnings for examples (#2085)Jeffery Myers
2021-07-28Review includes to use extras librariesraysan5
2021-07-28Update shapes_logo_raylib_anim.craysan5
2021-06-26Update raygui.hraysan5
2021-05-10Add RenderPolyLinesEx routine (#1758)Lambert Wang
Co-authored-by: Lambert Wang <[email protected]>
2021-05-08Added support for additional mouse buttons (#1753)Lambert Wang
* Added support for additional mouse buttons * Renamed mouse button enum Co-authored-by: Lambert Wang <[email protected]>
2021-04-25Fixes for 64 bit typecast warnings (#1733)Jeffery Myers
2021-04-22Remove trail spacesRay
2021-04-06Minimum number of segments in circle sector functions changed from ↵frithrah
hard-coded to based on degree range. (#1707) Co-authored-by: Simon <[email protected]>
2021-03-19Changed DrawRing and DrawCircleSector angle params from int to float to ↵frithrah
allow greater accuracy. (#1656) Co-authored-by: Simon <[email protected]>
2021-02-15Fixed problem related to `IsKeyPressed` function! (#1589)Rabia Alhaffar
2020-12-26Fix use of GuiSliderBar in examples. (#1470)badlydrawnrod
2020-12-24Replace TABS by 4 spacesraysan5
2020-12-24Updated several files while porting examples to webraysan5
2020-10-05Replace 0.f by 0.0fRay
2020-10-05Review "aggregate initializations" #1403Ray
2020-08-16RENAMED: FormatText() -> TextFormat()raysan5
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2019-07-27Update raygui.hraysan5
2019-07-27Avoid ricons.hraysan5
2019-07-27Update raygui.hraysan5
2019-05-27Review variables initializationRay
2019-05-20Review ALL examplesRay
2019-05-14examples reviewRay
Redesigns, deletes and renames Also noted authors propertly on contributed examples
2019-05-06Avoid warnings pre-evaluating valuesRay
Variable operations inside the functions should be evaluated before the function operations.
2019-05-03Renamed exampleRay
2019-05-03Batch of 9 new shapes examples!Ray
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)
2019-04-11new example: shapes_rectangle_scaling_mouseRay
2018-12-26WARNING: BREAKING CHANGEraysan5
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.
2018-12-11WARNING: BIG rewrite of rlgl moduleRay
This commit implements a big update of rlgl module, intended to optimize some parts. This change could break some code bases... hopefully not, but it could. The BIG changes to the module are: - Replaced LINES-TRIANGLES-QUADS buffers by a single one, now all vertex data is accumulated on a single buffer and managed with registered draw calls. LINES-TRIANGLES-QUADS could be used the same way as before, rlgl will manage them carefully. That's a big improvement of the system. - Support multi-buffering if required. Just define MAX_BATCH_BUFFERING desired size (currently set to 1 batch). Should be enough for most of the situations. - Removed temporal accumulative buffers for matrix transformations, now transformations are directly applied to vertex when on rlVertex3f() - Reviewed rlPushMatrix()/rlPopMatrix() to be consistent with OpenGL 1.1, probably I should remove that ancient behaviour but... well, it was not consistent and now it is. - Minor tweaks: LoadText(), I broke it in last update... also multiple comments reviewed. - TODO: MAX_BATCH_ELEMENTS checking should probably be reviewed... done some tests and it works but...
2018-09-25PNG image size optimizationRay
2017-10-14Corrected issues on examplesraysan5
2017-04-14new example: shapes_lines_bezierraysan5
2017-04-04Reorganize examples folderRay