updated win32 project and fixed compiler warning.

This commit is contained in:
Mikko Mononen
2010-09-12 16:06:09 +00:00
parent a92660c62f
commit 08e1cac0bb
3 changed files with 9 additions and 1 deletions

View File

@@ -304,7 +304,7 @@ static void calcSmoothSteerDirection(const float* pos, const float* corners, con
dtVnormalize(dvel);
}
static void calcStraightSteerDirection(const float* pos, const float* corners, const int ncorners, float* dvel)
static void calcStraightSteerDirection(const float* pos, const float* corners, const int /*ncorners*/, float* dvel)
{
dtVsub(dvel, &corners[0], pos);
dvel[1] = 0;