fixed compile on win
--HG-- branch : trunk
This commit is contained in:
@@ -56,7 +56,7 @@ namespace VMAP
|
||||
Vector3 VMapManager2::convertPositionToInternalRep(float x, float y, float z) const
|
||||
{
|
||||
Vector3 pos;
|
||||
const float mid = 0.5 * 64.0 * 533.33333333;
|
||||
const float mid = 0.5 * 64.0 * 533.33333333f;
|
||||
pos.x = mid - x;
|
||||
pos.y = mid - y;
|
||||
pos.z = z;
|
||||
@@ -69,7 +69,7 @@ namespace VMAP
|
||||
Vector3 VMapManager2::convertPositionToMangosRep(float x, float y, float z) const
|
||||
{
|
||||
Vector3 pos;
|
||||
const float mid = 0.5 * 64.0 * 533.33333333;
|
||||
const float mid = 0.5 * 64.0 * 533.33333333f;
|
||||
pos.x = mid - x;
|
||||
pos.y = mid - y;
|
||||
pos.z = z;
|
||||
|
||||
Reference in New Issue
Block a user