Immediate Mode displays one torus, not two
I didn't find a more explicit title, but let me explain.
I have the following code attached to a GameObject:
public class CommandWidget : ImmediateModeShapeDrawer
public float yaw = 0;
public override void DrawShapes(Camera cam)
Draw.Matrix = transform.localToWorldMatrix;
Draw.TorusRadiusSpace = ThicknessSpace.Pixels;
Draw.TorusThicknessSpace = ThicknessSpace.Pixels;
Draw.Torus(Vector3.zero, Vector3.up, 100, 2, Color.cyan);
This doesn't draw anything. But if I comment one of the Draw.Torus calls, the other is executed properly.
I feel like this is a bug, but maybe I did something wrong :)