We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5ab82 commit 9db92faCopy full SHA for 9db92fa
Assets/Scripts/Pinpoint/TP_InPlaneSlice.cs
@@ -179,7 +179,7 @@ private Vector3 CalculateInPlanePosition(Vector2 pointerData)
179
// We get the center index, then add the x position * the left vector, then add the y position * the up vector
180
// remember that for the probe, up = backward, and left = left
181
Vector3 inPlanePosition = recRegionCenterIdx +
182
- (BrainAtlasManager.ActiveReferenceAtlas.World2Atlas_Vector(-rightWorldU) * -inPlanePosNorm.x +
+ (BrainAtlasManager.ActiveReferenceAtlas.World2Atlas_Vector(-rightWorldU) * inPlanePosNorm.x +
183
BrainAtlasManager.ActiveReferenceAtlas.World2Atlas_Vector(-forwardWorldU) * inPlanePosNorm.y);
184
return inPlanePosition;
185
}
0 commit comments