patch from jfmact: "added c++ trimming to header" mathutil.h

git-svn-id: https://svn.eduke32.com/eduke32@3016 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2012-09-13 07:06:47 +00:00
parent 74c00dbbd6
commit 132aebf1c1

View file

@ -26,9 +26,15 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifdef __cplusplus
extern "C" {
#endif
extern int32_t FindDistance2D(int32_t dx, int32_t dy); extern int32_t FindDistance2D(int32_t dx, int32_t dy);
extern int32_t FindDistance3D(int32_t dx, int32_t dy, int32_t dz); extern int32_t FindDistance3D(int32_t dx, int32_t dy, int32_t dz);
extern int32_t FindDistance3D_HP(int32_t dx, int32_t dy, int32_t dz); extern int32_t FindDistance3D_HP(int32_t dx, int32_t dy, int32_t dz);
extern int32_t ArcTangentAppx(int32_t dx, int32_t dy); extern int32_t ArcTangentAppx(int32_t dx, int32_t dy);
#ifdef __cplusplus
}
#endif