mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-02 17:12:11 +00:00
15 lines
No EOL
309 B
C
15 lines
No EOL
309 B
C
#pragma once
|
|
|
|
int FindDistance2D(int x, int y);
|
|
double fFindDistance2D(int x, int y);
|
|
int FindDistance3D(int x, int y, int z);
|
|
|
|
inline int FindDistance3D(const vec3_t& vec)
|
|
{
|
|
return FindDistance3D(vec.X, vec.Y, vec.Z);
|
|
}
|
|
|
|
inline int FindDistance2D(const vec2_t& vec)
|
|
{
|
|
return FindDistance2D(vec.X, vec.Y);
|
|
} |