package util; @:structInit class Vec2 { public final x:T; public final y:T; } @:structInit class Vec3 { public final x:T; public final y:T; public final z:T; }