mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Build: Change renderSetRollAngle() to take a float and not an int32_t.
This commit is contained in:
parent
bece408548
commit
3749a89d6a
2 changed files with 3 additions and 3 deletions
|
@ -1064,7 +1064,7 @@ int32_t wallvisible(int32_t const x, int32_t const y, int16_t const wallnum);
|
|||
int32_t videoSetRenderMode(int32_t renderer);
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
void renderSetRollAngle(int32_t rolla);
|
||||
void renderSetRollAngle(float rolla);
|
||||
#endif
|
||||
|
||||
// pal: pass -1 to invalidate all palettes for the tile, or >=0 for a particular palette
|
||||
|
|
|
@ -5465,8 +5465,8 @@ int32_t videoSetRenderMode(int32_t renderer)
|
|||
// setrollangle
|
||||
//
|
||||
#ifdef USE_OPENGL
|
||||
void renderSetRollAngle(int32_t rolla)
|
||||
void renderSetRollAngle(float rolla)
|
||||
{
|
||||
gtang = (float)rolla * (fPI * (1.f/1024.f));
|
||||
gtang = rolla * (fPI * (1.f/1024.f));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue