You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Entities/AtomGroup.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1344,7 +1344,7 @@ namespace RTE {
1344
1344
1345
1345
if (rayHit) {
1346
1346
// Determine the longest clearing distance so far
1347
-
atomExitVector = clearPos - atomPos.GetFloored();
1347
+
atomExitVector = clearPos - atomPos;
1348
1348
if (atomExitVector.GetMagnitude() > longestDistance) {
1349
1349
// We found the Atom with the longest to travel along the exit direction to clear, so that's the distance to move the whole object to clear all its Atoms.
0 commit comments