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

Binary file not shown.

View File

@ -323,6 +323,10 @@
RelativePath="..\..\Include\ConvexVolumeTool.h" RelativePath="..\..\Include\ConvexVolumeTool.h"
> >
</File> </File>
<File
RelativePath="..\..\Include\CrowdManager.h"
>
</File>
<File <File
RelativePath="..\..\Include\CrowdTool.h" RelativePath="..\..\Include\CrowdTool.h"
> >
@ -415,6 +419,10 @@
RelativePath="..\..\Source\ConvexVolumeTool.cpp" RelativePath="..\..\Source\ConvexVolumeTool.cpp"
> >
</File> </File>
<File
RelativePath="..\..\Source\CrowdManager.cpp"
>
</File>
<File <File
RelativePath="..\..\Source\CrowdTool.cpp" RelativePath="..\..\Source\CrowdTool.cpp"
> >

View File

@ -304,7 +304,7 @@ static void calcSmoothSteerDirection(const float* pos, const float* corners, con
dtVnormalize(dvel); 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); dtVsub(dvel, &corners[0], pos);
dvel[1] = 0; dvel[1] = 0;