egg start

This commit is contained in:
ethan merchant 2024-11-25 13:38:22 -05:00
parent 360a075906
commit d46910812f
3 changed files with 14 additions and 4 deletions

BIN
Assets/meshes/assets.glb (Stored with Git LFS)

Binary file not shown.

View file

@ -205,6 +205,16 @@ static class Arts
); );
} }
// starting egg
meshes["Egg"].Draw(
mat_mono,
Matrix.TRS(
Vec3.Zero,
Quat.Identity,
1
)
);
// holes // holes
foreach (KeyValuePair<XYZi, XYZi> hole in Mono.holes) foreach (KeyValuePair<XYZi, XYZi> hole in Mono.holes)
{ {

View file

@ -25,8 +25,8 @@ static class Mono
public static XYZi[] snake = new XYZi[ public static XYZi[] snake = new XYZi[
Maths.u_length(SD_X) * Maths.u_length(SD_Y) * Maths.u_length(SD_Z) Maths.u_length(SD_X) * Maths.u_length(SD_Y) * Maths.u_length(SD_Z)
]; ];
public static int snake_len = 4; public static int snake_len = 1;
public static int grow_buffer = 0; public static int grow_buffer = 3;
public static XYZi snake_dir = new(0, 0, 1); public static XYZi snake_dir = new(0, 0, 1);
public static DeltaBool in_box = new(true); public static DeltaBool in_box = new(true);
public static Dictionary<XYZi, XYZi> holes = new(); public static Dictionary<XYZi, XYZi> holes = new();