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

20 lines
233 B
Plaintext

set :Vec to type {
f32 :x,
f32 :y,
f32 :z,
};
set :Color to type {
i8 :r,
i8 :g,
i8 :b,
};
set :Player to type {
str :username,
Vec :pos,
Color :color,
};
set immutable :purple to Color {255 255 0};