Skip to content

Commit 7aa3420

Browse files
committed
chore: missing usings, clarifying Craniotomy
1 parent f7aa651 commit 7aa3420

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1+
using System;
12
using UnityEngine;
23

34
/// <summary>
4-
/// Craniotomy Position is the center point, extent is -Width/2 to +Width/2, etc
5+
/// Craniotomy Position is the center point, extent is -Width/2 to +Width/2, etc if Rectangle or Width = Height = Diameter
56
/// </summary>
7+
///
8+
9+
[Serializable]
610
public struct CraniotomyData
711
{
812
public Vector3 Position;
913
public float Width;
1014
public float Height;
15+
public bool Rectangle;
1116
}

Assets/Scripts/Pinpoint/JSON/ManipulatorControllerData.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
using System;
12
using UnityEngine;
23

4+
[Serializable]
35
public struct ManipulatorControllerData
46
{
57
public string ManipulatorID;

0 commit comments

Comments
 (0)