mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove now-unused code.
This commit is contained in:
parent
48ed7835d7
commit
db4002cd7f
1 changed files with 0 additions and 6 deletions
|
|
@ -669,12 +669,6 @@ static void HWR_RenderPlane(sector_t *sector, extrasubsector_t *xsub, boolean is
|
||||||
if (angle) // Only needs to be done if there's an altered angle
|
if (angle) // Only needs to be done if there's an altered angle
|
||||||
{
|
{
|
||||||
angle = InvAngle(angle)>>ANGLETOFINESHIFT;
|
angle = InvAngle(angle)>>ANGLETOFINESHIFT;
|
||||||
// This needs to be done so that it scrolls in a different direction after rotation like software
|
|
||||||
/*tempxsow = FLOAT_TO_FIXED(scrollx);
|
|
||||||
tempytow = FLOAT_TO_FIXED(scrolly);
|
|
||||||
scrollx = (FIXED_TO_FLOAT(FixedMul(tempxsow, FINECOSINE(angle)) - FixedMul(tempytow, FINESINE(angle))));
|
|
||||||
scrolly = (FIXED_TO_FLOAT(FixedMul(tempxsow, FINESINE(angle)) + FixedMul(tempytow, FINECOSINE(angle))));*/
|
|
||||||
|
|
||||||
// This needs to be done so everything aligns after rotation
|
// This needs to be done so everything aligns after rotation
|
||||||
// It would be done so that rotation is done, THEN the translation, but I couldn't get it to rotate AND scroll like software does
|
// It would be done so that rotation is done, THEN the translation, but I couldn't get it to rotate AND scroll like software does
|
||||||
tempxsow = FLOAT_TO_FIXED(flatxref);
|
tempxsow = FLOAT_TO_FIXED(flatxref);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue