Skip to content

Commit

Permalink
- PlanesAtPointf
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Feb 15, 2022
1 parent cd55658 commit 7d461fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/core/gamefuncs.h
Expand Up @@ -157,6 +157,10 @@ void loaddefinitionsfile(const char* fn, bool cumulative = false, bool maingrp =
bool calcChaseCamPos(int* px, int* py, int* pz, DCoreActor* pspr, sectortype** psectnum, binangle ang, fixedhoriz horiz, double const smoothratio);

void PlanesAtPoint(const sectortype* sec, float dax, float day, float* ceilz, float* florz);
inline void PlanesAtPointf(const sectortype* sec, float dax, float day, float* ceilz, float* florz)
{
PlanesAtPoint(sec, dax * worldtomap, day * worldtomap, ceilz, florz);
}

int getslopeval(sectortype* sect, int x, int y, int z, int planez);

Expand Down

0 comments on commit 7d461fa

Please sign in to comment.