core: examples: update import path style
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
78edb10446
commit
07d9855f73
47 changed files with 216 additions and 93 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
/// A port of Austin Eng's "computeBoids" webgpu sample.
|
/// A port of Austin Eng's "computeBoids" webgpu sample.
|
||||||
/// https://github.com/austinEng/webgpu-samples/blob/main/src/sample/computeBoids/main.ts
|
/// https://github.com/austinEng/webgpu-samples/blob/main/src/sample/computeBoids/main.ts
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
title_timer: core.Timer,
|
title_timer: core.Timer,
|
||||||
timer: core.Timer,
|
timer: core.Timer,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const renderer = @import("renderer.zig");
|
const renderer = @import("renderer.zig");
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
const core = @import("mach").core;
|
const mach = @import("mach");
|
||||||
const gpu = core.gpu;
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const Renderer = @This();
|
pub const Renderer = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const m3d = @import("model3d");
|
const m3d = @import("model3d");
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,11 @@
|
||||||
//! for opengl
|
//! for opengl
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,12 @@
|
||||||
// move camera with arrows or wasd
|
// move camera with arrows or wasd
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
|
||||||
const zm = @import("zmath");
|
|
||||||
|
|
||||||
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
|
const zm = @import("zmath");
|
||||||
const Vec = zm.Vec;
|
const Vec = zm.Vec;
|
||||||
const Mat = zm.Mat;
|
const Mat = zm.Mat;
|
||||||
const Quat = zm.Quat;
|
const Quat = zm.Quat;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const m3d = @import("model3d");
|
const m3d = @import("model3d");
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
|
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const renderer = @import("renderer.zig");
|
const renderer = @import("renderer.zig");
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const primitives = @import("procedural-primitives.zig");
|
const primitives = @import("procedural-primitives.zig");
|
||||||
const Primitive = primitives.Primitive;
|
const Primitive = primitives.Primitive;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const Vertex = extern struct {
|
const Vertex = extern struct {
|
||||||
pos: @Vector(2, f32),
|
pos: @Vector(2, f32),
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
/// A port of Austin Eng's "computeBoids" webgpu sample.
|
/// A port of Austin Eng's "computeBoids" webgpu sample.
|
||||||
/// https://github.com/austinEng/webgpu-samples/blob/main/src/sample/computeBoids/main.ts
|
/// https://github.com/austinEng/webgpu-samples/blob/main/src/sample/computeBoids/main.ts
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
const gpu = core.gpu;
|
const gpu = core.gpu;
|
||||||
|
|
||||||
title_timer: core.Timer,
|
title_timer: core.Timer,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
const gpu = core.gpu;
|
const gpu = core.gpu;
|
||||||
|
|
||||||
const renderer = @import("renderer.zig");
|
const renderer = @import("renderer.zig");
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
const core = @import("mach").core;
|
const mach = @import("mach");
|
||||||
const gpu = core.gpu;
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const Renderer = @This();
|
pub const Renderer = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const m3d = @import("model3d");
|
const m3d = @import("model3d");
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,11 @@
|
||||||
//! for opengl
|
//! for opengl
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,12 @@
|
||||||
// move camera with arrows or wasd
|
// move camera with arrows or wasd
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
|
||||||
const zm = @import("zmath");
|
|
||||||
|
|
||||||
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
|
const zm = @import("zmath");
|
||||||
const Vec = zm.Vec;
|
const Vec = zm.Vec;
|
||||||
const Mat = zm.Mat;
|
const Mat = zm.Mat;
|
||||||
const Quat = zm.Quat;
|
const Quat = zm.Quat;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const m3d = @import("model3d");
|
const m3d = @import("model3d");
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
|
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const renderer = @import("renderer.zig");
|
const renderer = @import("renderer.zig");
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const primitives = @import("procedural-primitives.zig");
|
const primitives = @import("procedural-primitives.zig");
|
||||||
const Primitive = primitives.Primitive;
|
const Primitive = primitives.Primitive;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const Vertex = extern struct {
|
const Vertex = extern struct {
|
||||||
pos: @Vector(2, f32),
|
pos: @Vector(2, f32),
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
const gpu = core.gpu;
|
const gpu = core.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zigimg = @import("zigimg");
|
const zigimg = @import("zigimg");
|
||||||
const assets = @import("assets");
|
const assets = @import("assets");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
const zm = @import("zmath");
|
const zm = @import("zmath");
|
||||||
const Vertex = @import("cube_mesh.zig").Vertex;
|
const Vertex = @import("cube_mesh.zig").Vertex;
|
||||||
const vertices = @import("cube_mesh.zig").vertices;
|
const vertices = @import("cube_mesh.zig").vertices;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const core = @import("mach").core;
|
|
||||||
const gpu = core.gpu;
|
const mach = @import("mach");
|
||||||
|
const core = mach.core;
|
||||||
|
const gpu = mach.gpu;
|
||||||
|
|
||||||
pub const App = @This();
|
pub const App = @This();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue