egg start
This commit is contained in:
parent
360a075906
commit
d46910812f
3 changed files with 14 additions and 4 deletions
BIN
Assets/meshes/assets.glb
(Stored with Git LFS)
BIN
Assets/meshes/assets.glb
(Stored with Git LFS)
Binary file not shown.
10
src/Arts.cs
10
src/Arts.cs
|
@ -205,6 +205,16 @@ static class Arts
|
|||
);
|
||||
}
|
||||
|
||||
// starting egg
|
||||
meshes["Egg"].Draw(
|
||||
mat_mono,
|
||||
Matrix.TRS(
|
||||
Vec3.Zero,
|
||||
Quat.Identity,
|
||||
1
|
||||
)
|
||||
);
|
||||
|
||||
// holes
|
||||
foreach (KeyValuePair<XYZi, XYZi> hole in Mono.holes)
|
||||
{
|
||||
|
|
|
@ -25,8 +25,8 @@ static class Mono
|
|||
public static XYZi[] snake = new XYZi[
|
||||
Maths.u_length(SD_X) * Maths.u_length(SD_Y) * Maths.u_length(SD_Z)
|
||||
];
|
||||
public static int snake_len = 4;
|
||||
public static int grow_buffer = 0;
|
||||
public static int snake_len = 1;
|
||||
public static int grow_buffer = 3;
|
||||
public static XYZi snake_dir = new(0, 0, 1);
|
||||
public static DeltaBool in_box = new(true);
|
||||
public static Dictionary<XYZi, XYZi> holes = new();
|
||||
|
|
Loading…
Add table
Reference in a new issue