- SW: Add helper comment to some yet to be refactored code.

This commit is contained in:
Mitchell Richters 2022-09-07 15:59:59 +10:00 committed by Christoph Oelckers
parent ee30e770f7
commit a71d0779e5

View file

@ -4339,6 +4339,8 @@ void getzrangepoint(int x, int y, int z, sectortype* sect,
// Calculate all 4 points of the floor sprite.
// (x1,y1),(x2,y2),(x3,y3),(x4,y4)
// These points will already have (x,y) subtracted from them
// [MR] Note, formula here appears identical to that of `DrawAutomapAlignmentFloor()`.
// Consider looking there when refactoring.
cosang = bcos(itActor->int_ang());
sinang = bsin(itActor->int_ang());
xspan = tileWidth(tilenum);