aboutsummaryrefslogtreecommitdiff
path: root/src/level.zig
diff options
context:
space:
mode:
authortslil clingman <>2021-10-17 15:30:14 -0400
committertslil clingman <>2021-10-17 15:30:14 -0400
commitc376543f5b2c9593bee3664b7c1cb67f8802f79c (patch)
treef71e44bdd7e3a755d744a3e1246f6a7197062732 /src/level.zig
parent61856ed5407a227aab35d7b800daad883c265dd9 (diff)
Texture scaling
Diffstat (limited to 'src/level.zig')
-rw-r--r--src/level.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/level.zig b/src/level.zig
index 81a0e67..f277b19 100644
--- a/src/level.zig
+++ b/src/level.zig
@@ -22,6 +22,7 @@ pub const Layer = struct {
height : f32 = 0,
vertical_texture : u8 = 0,
+ vertical_texture_scale : f32 = 4,
horizontal_texture : u8 = 0,
// What happened to this error? Is it comptime?
vertices: std.BoundedArray([2]f32, MAX_VERTS),