mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- SW: Add helper comment to some yet to be refactored code.
This commit is contained in:
parent
ee30e770f7
commit
a71d0779e5
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue