From: divverent Date: Fri, 23 Oct 2009 13:23:17 +0000 (+0000) Subject: fix FLT_MAX on visual studio sucky compiler X-Git-Tag: xonotic-v0.1.0preview~1247 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f057fb2545d6a3bf759bbbc4aea6d038ac66feb9;p=xonotic%2Fdarkplaces.git fix FLT_MAX on visual studio sucky compiler git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9391 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/world.c b/world.c index a4f90012..d825e07a 100644 --- a/world.c +++ b/world.c @@ -371,7 +371,7 @@ struct dxJointNode; struct dxJointGroup; struct dxTriMeshData; -#define dInfinity FLT_MAX +#define dInfinity 3.402823466e+38f typedef struct dxWorld *dWorldID; typedef struct dxSpace *dSpaceID;