fix build on systems without CUDA,

apply opcode patch: http://code.google.com/p/bullet/issues/detail?id=175
This commit is contained in:
erwin.coumans
2009-02-06 06:26:44 +00:00
parent 24d1fea8b2
commit 17bf62c013
23 changed files with 39 additions and 43 deletions

View File

@@ -37,7 +37,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -12,7 +12,7 @@
#include "StdAfx.h"
#include <malloc.h>
using namespace IceCore;
using namespace Opcode;
//#define ZERO_OVERHEAD_RELEASE
#define NEW_CODE

View File

@@ -22,7 +22,7 @@
// Precompiled Header
#include "StdAfx.h"
using namespace IceCore;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -24,7 +24,7 @@
// Precompiled Header
#include "StdAfx.h"
using namespace IceCore;
using namespace Opcode;
// Static members
#ifdef CONTAINER_STATS

View File

@@ -44,7 +44,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Point Mul = HPoint * Matrix3x3;
@@ -84,3 +84,4 @@ HPoint& HPoint::operator*=(const Matrix4x4& mat)
return *this;
}

View File

@@ -27,7 +27,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -51,7 +51,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
// Cast operator
Matrix3x3::operator Matrix4x4() const

View File

@@ -54,7 +54,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
@@ -149,3 +149,4 @@ Matrix4x4& Matrix4x4::Invert()
return *this;
}

View File

@@ -36,7 +36,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -36,7 +36,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -64,7 +64,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -27,7 +27,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceCore;
using namespace Opcode;
void IceCore:: SRand(udword seed)
{
@@ -49,3 +49,4 @@ udword IceCore::GetRandomIndex(udword max_index)
return Index % max_index;
}

View File

@@ -77,7 +77,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
float Ray::SquareDistance(const Point& point, float* t) const
{

View File

@@ -56,7 +56,7 @@ To do:
// Precompiled Header
#include "StdAfx.h"
using namespace IceCore;
using namespace Opcode;
#define INVALIDATE_RANKS mCurrentSize|=0x80000000
#define VALIDATE_RANKS mCurrentSize&=0x7fffffff

View File

@@ -40,7 +40,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
float Segment::SquareDistance(const Point& point, float* t) const
{

View File

@@ -27,7 +27,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceMaths;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**

View File

@@ -27,7 +27,7 @@ subject to the following restrictions:
// Precompiled Header
#include "Stdafx.h"
using namespace IceCore;
using namespace Opcode;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**