TabulaRasa/Source/Game/World.cpp
float GetStep(float Origin, float Direction)
{
	if (Direction < 0)
		return GetStep(-Origin, -Direction);
	else
	{
		float Rem = Mod(Origin, 1.0f);
		return (1.0f - Rem) / Direction;
	}
}
// Find t where Direction * t + Origin = integer
Find t where Direction * t + Origin = integer
Find t where Direction * t + Origin = integer
float GetStep(float Origin, float Direction)
{
	if (Direction < 0)
		return GetStep(-Origin, -Direction);
	else
	{
		float Rem = Mod(Origin, 1.0f);
		return (1.0f - Rem) / Direction;
	}
}
float GetStep ( float Origin , float Direction ) { if ( Direction < 0 ) return GetStep ( - Origin , - Direction ) ; else { float Rem = Mod ( Origin , 1.0f ) ; return ( 1.0f - Rem ) / Direction ; } }
Find t where Direction * t + Origin = integer
Find t where Direction * t + Origin = integer