Skip to content

Instantly share code, notes, and snippets.

@hb3p8
Created Apr 14, 2014
Embed
What would you like to do?
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