mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 11:41:08 +00:00
- floating point getslope functions.
# Conflicts: # source/build/include/build.h
This commit is contained in:
parent
4787bddddd
commit
e3d5397d7e
1 changed files with 15 additions and 0 deletions
|
@ -180,6 +180,21 @@ int getflorzofslopeptr(const sectortype* sec, int dax, int day);
|
||||||
void getzsofslopeptr(const sectortype* sec, int dax, int day, int* ceilz, int* florz);
|
void getzsofslopeptr(const sectortype* sec, int dax, int day, int* ceilz, int* florz);
|
||||||
void getzsofslopeptr(const sectortype* sec, double dax, double day, double* ceilz, double* florz);
|
void getzsofslopeptr(const sectortype* sec, double dax, double day, double* ceilz, double* florz);
|
||||||
|
|
||||||
|
inline double getceilzofslopeptrf(const sectortype* sec, double dax, double day)
|
||||||
|
{
|
||||||
|
return getceilzofslopeptr(sec, dax * worldtoint, day * worldtoint) * zinttoworld;
|
||||||
|
}
|
||||||
|
inline double getflorzofslopeptrf(const sectortype* sec, double dax, double day)
|
||||||
|
{
|
||||||
|
return getflorzofslopeptr(sec, dax * worldtoint, day * worldtoint) * zinttoworld;
|
||||||
|
}
|
||||||
|
[[deprecated]]
|
||||||
|
inline void getzsofslopeptrf(const sectortype* sec, double dax, double day, double* ceilz, double* florz)
|
||||||
|
{
|
||||||
|
getzsofslopeptr(sec, dax, day, ceilz, florz);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
enum EFindNextSector
|
enum EFindNextSector
|
||||||
{
|
{
|
||||||
Find_Floor = 0,
|
Find_Floor = 0,
|
||||||
|
|
Loading…
Reference in a new issue