Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 9e3c4ab

Browse files
committed
Remove un-needed floor
1 parent b00f513 commit 9e3c4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/AtomGroup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ namespace RTE {
13441344

13451345
if (rayHit) {
13461346
// Determine the longest clearing distance so far
1347-
atomExitVector = clearPos - atomPos.GetFloored();
1347+
atomExitVector = clearPos - atomPos;
13481348
if (atomExitVector.GetMagnitude() > longestDistance) {
13491349
// 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.
13501350
longestDistance = atomExitVector.GetMagnitude();

0 commit comments

Comments
 (0)