mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- Exhumed: Repair math for chase camp gi
functions.
This commit is contained in:
parent
3663c4c742
commit
8f679ecf61
1 changed files with 3 additions and 3 deletions
|
@ -242,9 +242,9 @@ struct GameInterface : public ::GameInterface
|
|||
int playerKeyMove() override { return 6; }
|
||||
void WarpToCoords(int x, int y, int z, int a, int h) override;
|
||||
void ToggleThirdPerson() override;
|
||||
int chaseCamX(binangle ang) { return -ang.bcos() / 12; }
|
||||
int chaseCamY(binangle ang) { return -ang.bsin() / 12; }
|
||||
int chaseCamZ(fixedhoriz horiz) { return horiz.asq16() / 384; }
|
||||
int chaseCamX(binangle ang) { return -(ang.bcos() * 3) >> 5; }
|
||||
int chaseCamY(binangle ang) { return -(ang.bsin() * 3) >> 5; }
|
||||
int chaseCamZ(fixedhoriz horiz) { return (horiz.asq16() * 3) >> 10; }
|
||||
void processSprites(spritetype* tsprite, int& spritesortcnt, int viewx, int viewy, int viewz, binangle viewang, double smoothRatio) override;
|
||||
int GetCurrentSkill() override;
|
||||
|
||||
|
|
Loading…
Reference in a new issue