color cube uwu

This commit is contained in:
Nova 2021-10-29 05:54:17 -05:00
parent 82d955aa07
commit f8c9373246

View file

@ -7,6 +7,7 @@ class ColorCube {
static Model colorCube = Model.FromFile("colorcube.glb", Shader.UIBox);
Bounds bounds = new Bounds(Vec3.Zero, Vec3.One * 1.25f);
public bool picker = true;
public Color color = Color.White * 0.5f;
public float thickness {
set {
@ -39,6 +40,9 @@ class ColorCube {
public void Step(Matrix matrix) {
colorCube.Draw(matrix);
if(!picker)
return;
for (int h = 0; h < (int)Handed.Max; h++) {
// Get the pose for the index fingertip
Hand hand = Input.Hand((Handed)h);