Closed alufolie91 closed 7 months ago
actually, after profiling some more, this actually seems slower than R_PointToAngle64 it doesent clip things well enough and while the function itself may be faster, it makes the game render alot more things making this optimization useless (tho didnt compare to R_PointToAngleEX yet) so im gonna close this
this should speed up opengl sector clipping a bit didnt notice any negative side effects or rendering issues at all but gave me a slight performance boost on certain maps that suffer from view distance related performance issue Note: Software renderer wont use this as it kinda needs more precision/ somewhat exact angles or else itll break