Created
April 14, 2014 11:51
-
-
Save hb3p8/2578dcf43428f1ae233e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pushedT = (aTimeLft < aTimeRgh) ? aTimeRgh : aTimeLft; | |
... | |
int aStackOffset = theHit.Time < pushedT ? 2 : 1; | |
if (aHead - aStackOffset + 1 <= theSentinel) | |
return aTriIndex; | |
aNode = Stack[aHead - aStackOffset + 1]; | |
aHead -= aStackOffset; | |
pushedT = -MAXFLOAT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment