summaryrefslogtreecommitdiff
path: root/src/ecs/components.zig
blob: 1309e70303f2eb777b03bf999c7f5cf49933d5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const std = @import("std");
const Allocator = std.mem.Allocator;

pub const Position = packed struct {
    x: f32,
    y: f32,
    z: f32,

    pub const id: usize = 0;
};

pub const Speed = packed struct {
    speed: f32,
};