added 2d camera mouse zoom example (#129)

* added 2d camera mouse zoom example

* correctly formatted build.zig

* removed "gl" const
This commit is contained in:
YetAnotherCoder00 2024-08-17 14:58:15 +00:00 committed by GitHub
parent 6cc4aec3c4
commit 6d52ac4e13
Failed to generate hash of commit
2 changed files with 124 additions and 0 deletions

View file

@ -220,7 +220,13 @@ pub fn build(b: *std.Build) !void {
.name = "3d_camera_first_person",
.path = "examples/core/3d_camera_first_person.zig",
.desc = "Simple first person demo",
},
.{
.name = "2d_camera_mouse_zoom",
.path = "examples/core/2d_camera_mouse_zoom.zig",
.desc = "Shows mouse zoom demo",
},
.{
.name = "window_flags",
.path = "examples/core/window_flags.zig",