private static void renderX ( Graphic g , CollisionFunction function , CollisionRange range , int th , int y ) { if ( UtilMath . isBetween ( y , range . getMinY ( ) , range . getMaxY ( ) ) ) { g . drawRect ( function . getRenderX ( y ) , th - y - 1 , 0 , 0 , false ) ; } }
Render horizontal collision from current vector .