mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-12 23:54:17 +00:00
Cleanup.
This commit is contained in:
parent
fb3769a730
commit
7f672039bf
1 changed files with 0 additions and 4 deletions
|
@ -3799,10 +3799,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckLOF)
|
||||||
|
|
||||||
ang >>= ANGLETOFINESHIFT;
|
ang >>= ANGLETOFINESHIFT;
|
||||||
|
|
||||||
//pos = self->Vec2Offset(
|
|
||||||
//FixedMul(xofs, finecosine[ang]) + FixedMul(yofs, finesine[ang]),
|
|
||||||
//FixedMul(xofs, finesine[ang]) - FixedMul(yofs, finecosine[ang]));
|
|
||||||
|
|
||||||
fixedvec2 xy = self->Vec2Offset(
|
fixedvec2 xy = self->Vec2Offset(
|
||||||
FixedMul(offsetforward, finecosine[ang]) + FixedMul(offsetwidth, finesine[ang]),
|
FixedMul(offsetforward, finecosine[ang]) + FixedMul(offsetwidth, finesine[ang]),
|
||||||
FixedMul(offsetforward, finesine[ang]) - FixedMul(offsetwidth, finecosine[ang]));
|
FixedMul(offsetforward, finesine[ang]) - FixedMul(offsetwidth, finecosine[ang]));
|
||||||
|
|
Loading…
Reference in a new issue