summaryrefslogtreecommitdiffhomepage
path: root/examples
AgeCommit message (Collapse)Author
2021-10-17Update examples screenshotsraysan5
2021-10-17Reviewed makefile and examples buildingraysan5
2021-10-17Remove trailing spacesraysan5
2021-10-17Create Makefile.Webraysan5
2021-10-17Added new examples to Makefileraysan5
2021-10-17Reviewed examplesraysan5
2021-10-14Review some commentsraysan5
2021-10-14Merge branch 'master' of https://github.com/raysan5/raylibraysan5
2021-10-14Review examplesraysan5
2021-10-14Add zig buildfile for examples. (#2051)Ryan Roden-Corrent
* Add zig buildfile for examples. - `zig build` to compile all examples - `zig build [module]` to compile all examples for a module (e.g. `zig build core`) - `zig build [example]` to compile _and run_ a particular example (e.g. `zig build core_basic_window`) You can use `-Dtarget=` to compile for a non-native platform, such as `zig build -Dtarget=x86_64-windows-gnu` to compile from Linux to Windows. * Skip pthread example on Windows. * Select appropriate lib file based on target.
2021-10-13Update models_loading_vox.craysan5
2021-10-13REVIEWED: macOS does not require GLAD library #2052raysan5
It directly uses the libraries provided by the system
2021-10-12Create LICENSEraysan5
2021-10-12Reviewed models examples pathsraysan5
2021-10-12Rename examples for consistencyraysan5
2021-10-12Review commentsraysan5
2021-10-12REVIEWED: EXAMPLE: shaders_shapes_outlineraysan5
Removed unneeded resources to use raylib ones.
2021-10-12REVIEWED: models resources structureraysan5
2021-10-12REMOVED: EXAMPLE: models_gltf_animationraysan5
2021-10-12REMOVED: EXAMPLE: models_material_pbrraysan5
2021-10-07Update models_rlgl_solar_system.cRay
2021-10-06WARNING: BREAKING: REMOVED: `GenImagePerlinNoise()`raysan5
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
2021-10-03Minor format tweaksRay
2021-10-03WARNING: REVIEWED: Follow a set of conventionsRay
CONVENTIONS: - Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside - Functions input parameters are always received by value - Functions use always a "result" variable for return - Functions are always defined inline - Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
2021-10-02Rename BRDG typo to BDRF (#2028)Chris
2021-09-10Update Makefile for web compilationraysan5
Some flags are only for the linker, not the compiler
2021-09-10Vox loaded (#1981)procfxgen
* new models_magicavoxel_loading example * Portable header-only file "magicavoxel_loader.h" for MagicaVoxel loader example. * models_magicavoxel_loading example added to CMakeLists.txt and Makefile * fix models_magicavoxel_loading example for linux. * * vox_loader into "src/external/vox_loader.h" * vox file support for "models.c" * updated example "models/models_magicavoxel_loading.c" * * Fix Vox_FreeArrays (removed memory leak) * * removed magicavoxel_loader.h * * Revert vs2019 solution * * vox_loader.h -> Support custom memory allocators * vox_loader.h -> Reverse Y<>Z for left to right handed system * models/models_magicavoxel_loading.c -> fix model center * * vox_loader.h -> Removed Raylib dependencies * * Changed Vox_LoadFileName to Vox_LoadFromMemory
2021-09-04new models_magicavoxel_loading example (#1940)procfxgen
* new models_magicavoxel_loading example * Portable header-only file "magicavoxel_loader.h" for MagicaVoxel loader example. * models_magicavoxel_loading example added to CMakeLists.txt and Makefile * fix models_magicavoxel_loading example for linux. * * vox_loader into "src/external/vox_loader.h" * vox file support for "models.c" * updated example "models/models_magicavoxel_loading.c" * * Fix Vox_FreeArrays (removed memory leak) * * removed magicavoxel_loader.h * * Revert vs2019 solution
2021-09-02REVIEWED: GlyphsRay
2021-09-01REVIEWED: Naming: length vs sizeRay
2021-09-01WARNING: BREAKING: RENAMED: Font struct variablesRay
RENAMED: GetCodepointsCount() -> GetCodepointCount() RENAMED: GetTouchPointsCount() -> GetTouchPointCount()
2021-08-28Minor tweakRay
2021-08-26REVIEWED: Examples compilationRay
2021-08-25UPDATED: raygui to latest version -WIP-Ray
Note this new raygui version embeds ricons and `GuiTextBoxMulti()` is not working properly
2021-08-25Update shaders_shapes_outline.cRay
2021-08-25Renamed some static functions for more consistent namingRay
2021-08-22Update shaders_shapes_outline.cRay
2021-08-11WARNING: REMOVED: DrawTextRec() and DrawTextRecEx()raysan5
- DrawTextRec() and DrawTextRecEx() have been moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
2021-08-07Fix Makefile to build WASM examples. (#1906)Ryan Roden-Corrent
* Fix Makefile to build WASM examples. - Add --preload-file flag before specifying the resource dir - Add empty resource dir to `shapes/` (otherwise wasm-ld will fail) - Add wasm outputs to .gitigore * Delete .gitignore Co-authored-by: Ray <[email protected]>
2021-08-07Update rlgl_standalone.craysan5
2021-07-31REVIEWED: rlgl defines for consistencyraysan5
2021-07-31Update models_rlgl_solar_system.craysan5
2021-07-31REVIEWED: raylib_opengl_interopraysan5
2021-07-30Update rlgl_standalone.craysan5
2021-07-30REVIEWED: Added new mechanism to avoid data types collision between modules ↵raysan5
that share same data types and can be used in standalone mode
2021-07-30REVERTED: Removed the need for `rlMatrix`raysan5
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like `#define MATRIX_TYPE`, so it can be checked in other modules.
2021-07-30Update Makefileraysan5
2021-07-29WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-raysan5
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed. - REMOVED: `Texture2D`, `Shader` structs dependency - REMOVED: `Vector3`, `Matrix` structs dependency - REMOVED: raymath functions dependency, all required math is implemented in rlgl - ADDED: `rlMatrix` custom rlgl type - ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types - ADDED: `rl` prefix to all `rlgl` structs - Other small tweaks here and there
2021-07-28REVIEWED: rnet include from extrasraysan5
2021-07-28Review includes to use extras librariesraysan5