reality-engine/docs/project-example-v2/src/common.ztl

20 lines
209 B
Plaintext

type Vec {
x: f32,
y: f32,
z: f32,
}
type Color {
r: u8,
g: u8,
b: u8,
}
type Player {
username: str,
pos: Vec,
color: Color,
}
const purple = Color{255, 255, 0};