11 Commits

Author SHA1 Message Date
Mike Will
d4fc514d54
examples: Use decl literals (#221) 2025-03-12 21:21:15 +01:00
Woshiwuja
8e5ef1045d
Added heightmap example (#206)
* added heightmap example

* better formatting
2025-02-16 19:43:02 +01:00
Francisco Demartino
5e275e93df fix build and basic_window example
some restructuring due to the recent changes to usingnamespace.

also cleaned up some deprecated stuff from raylib 3.7.

- appended the contents of raylib-wa.zig into raylib-zig.zig
- using raylib functions requires `const rl = @import("raylib");`
    (and accesing the identifiers inside rl, like `rl.InitWindow`)

only the basic_window example was updated, and it looks like it crashes
on keyboard inputs.

many thanks to @nektro :)
2022-01-08 05:37:52 -03:00
Not-Nik
004388133b
Fixup for rl 3.7 2021-11-28 14:07:22 +01:00
Ryan Roden-Corrent
51b327fa03
Complete models_loading example.
This had a few things missing/commented, but after fixing the load paths
and uncommenting code, it seems to work fine for me.

I also ran `zig format` on the example, I can submit a PR without that
if it isn't ideal.
2021-07-24 16:21:49 -04:00
Maurizio Crocci
73a76bf849 Fixes examples that had unused params 2021-07-10 03:26:08 +01:00
Not-Nik
c481ade52f
Starting out with object orientation 2020-05-04 15:06:13 +10:00
sacredbirdman
a7fa7755de zig 0.6.0 compatibility 2020-04-27 20:43:42 +03:00
G3bE
5f8226f8d8
Some minor improvements 2020-02-22 20:43:30 +10:00
G3bE
53be5d5871
Add some examples 2020-02-16 15:29:40 +10:00
G3bE
169fc6a886
Add (broken) models loading example 2020-02-15 21:53:45 +10:00