diff options
author | Nick Samarin <nicks1987@bigmir.net> | 2010-07-28 01:01:00 +0400 |
---|---|---|
committer | Nick Samarin <nicks1987@bigmir.net> | 2010-07-28 01:01:00 +0400 |
commit | af1ca0cfc17f9663908f23cafb322aa6e2b10782 (patch) | |
tree | b406567a28fbcf8362de7719c32a7d9453c362be /source/gameengine/Ketsji/KX_NavMeshObject.h | |
parent | c6ea23c77c441e49ba171b6d58f1601971d3f222 (diff) |
- added operators for manual assigning navigation polygon idx to mesh faces in edit mode
- modified conversion process to take into account changes caused by mesh editing
Note: conversion to dtStatNavMesh in KX_NavMeshObject hasn't worked correctly yet
Diffstat (limited to 'source/gameengine/Ketsji/KX_NavMeshObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_NavMeshObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_NavMeshObject.h b/source/gameengine/Ketsji/KX_NavMeshObject.h index 5161b723844..a0b91804db1 100644 --- a/source/gameengine/Ketsji/KX_NavMeshObject.h +++ b/source/gameengine/Ketsji/KX_NavMeshObject.h @@ -43,7 +43,7 @@ class KX_NavMeshObject: public KX_GameObject protected: dtStatNavMesh* m_navMesh; - bool BuildVertIndArrays(RAS_MeshObject* meshobj, float *&vertices, int& nverts, + bool BuildVertIndArrays(float *&vertices, int& nverts, unsigned short* &polys, int& npolys, unsigned short *&dmeshes, float *&dvertices, int &ndvertsuniq, unsigned short* &dtris, int& ndtris, int &vertsPerPoly); |