@@ -333,12 +333,12 @@ public override void ResetInsertion()
333333
334334 public override void ResetPosition ( )
335335 {
336- Insertion . apmldv = _defaultStart ;
336+ Insertion . APMLDV = _defaultStart ;
337337 }
338338
339339 public override void ResetAngles ( )
340340 {
341- Insertion . angles = _defaultAngles ;
341+ Insertion . Angles = _defaultAngles ;
342342 }
343343
344344 #endregion
@@ -497,7 +497,7 @@ private void MoveProbe_XYZD(Vector4 direction, float speed)
497497 {
498498 // Rotate the position delta (unity world space) into the insertion's transformed space
499499 // Note that we don't apply the transform beacuse we want 1um steps to = 1um steps in transformed space
500- Insertion . apmldv += Insertion . World2T_Vector ( posDelta ) ;
500+ Insertion . APMLDV += Insertion . World2T_Vector ( posDelta ) ;
501501 _depth += posDelta . w ;
502502
503503 // Set probe position and update UI
@@ -566,7 +566,7 @@ public void DragMovementClick()
566566 axisLockPitch = false ;
567567 axisLockYaw = false ;
568568
569- origAPMLDV = Insertion . apmldv ;
569+ origAPMLDV = Insertion . APMLDV ;
570570 origYaw = Insertion . Yaw ;
571571 origPitch = Insertion . Pitch ;
572572 // Note: depth is special since it gets absorbed into the probe position on each frame
@@ -691,7 +691,7 @@ public void DragMovementDrag()
691691
692692 if ( moved )
693693 {
694- Insertion . apmldv = origAPMLDV + Insertion . World2T_Vector ( newXYZ ) ;
694+ Insertion . APMLDV = origAPMLDV + Insertion . World2T_Vector ( newXYZ ) ;
695695 }
696696
697697 if ( axisLockDepth )
@@ -764,7 +764,7 @@ public override void SetProbePosition()
764764 transform . position += transform . forward * _depth ;
765765 Vector3 depthAdjustment = Insertion . World2T_Vector ( transform . forward ) * _depth ;
766766
767- Insertion . apmldv += depthAdjustment ;
767+ Insertion . APMLDV += depthAdjustment ;
768768 _depth = 0f ;
769769 }
770770
@@ -778,20 +778,20 @@ public override void SetProbePosition()
778778
779779 public override void SetProbePosition ( Vector3 position )
780780 {
781- Insertion . apmldv = position ;
781+ Insertion . APMLDV = position ;
782782 SetProbePosition ( ) ;
783783 }
784784
785785 public override void SetProbePosition ( Vector4 positionDepth )
786786 {
787- Insertion . apmldv = positionDepth ;
787+ Insertion . APMLDV = positionDepth ;
788788 _depth = positionDepth . w ;
789789 SetProbePosition ( ) ;
790790 }
791791
792792 public override void SetProbeAngles ( Vector3 angles )
793793 {
794- Insertion . angles = angles ;
794+ Insertion . Angles = angles ;
795795 SetProbePosition ( ) ;
796796 }
797797
0 commit comments