private void OnDrawGizmos() { Vector3[] grid = Trigonometry.CreateGrid(width, height, hStep, vStep, baseOffset, radius, centered, hemisphere); foreach (Vector3 pos in grid) { Gizmos.color = Color.green; Gizmos.DrawSphere(pos, 0.1f); } grid = Trigonometry.Create360Grid(width, height, vStep, radius, hemisphere); foreach (Vector3 pos in grid) { Gizmos.color = Color.red; Gizmos.DrawSphere(pos, 0.1f); } }