more fields for Vec

This commit is contained in:
Judah Caruso 2025-05-21 12:11:03 -06:00
parent c0f13ad9da
commit beaba8a6a3

View file

@ -43,10 +43,10 @@ Vec :: struct(N: int, T: Type)
basic.append(*b, "#place components;\n");
fields :: []string.[
string.[ "x", "r", "u" ],
string.[ "y", "g", "v" ],
string.[ "z", "b", "" ],
string.[ "w", "a", "" ],
string.[ "x", "r", "u", "min_x", "" ],
string.[ "y", "g", "v", "min_y", "" ],
string.[ "z", "b", "d", "max_x", "width" ],
string.[ "w", "a", "" , "max_y", "height" ],
];
for i: 0..N - 1 {