Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier de Blois <rddeblois@gmail.com>2016-04-05 21:38:42 +0300
committerPorteries Tristan <republicthunderbolt9@gmail.com>2016-04-05 22:39:04 +0300
commitc084520b0376c4ab92cb0193577a79cf23e5bb80 (patch)
tree645f35cdaa87464bb55e5c2b5657f86a142fedb2 /source/blender/makesdna/DNA_scene_types.h
parent176538f61360fb54f0e4ce209fc7d7632bce1401 (diff)
Expose new Recast partitioning methods for navmesh generation
This patch depends on D1747, which upgrades the Recast version. It exposes the new Recast partitioning methods in the navmesh generation. Reviewers: campbellbarton, moguri Reviewed By: moguri Projects: #bf_blender Differential Revision: https://developer.blender.org/D1748
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index fd37bde65ec..a8f78f6bb34 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -795,9 +795,15 @@ typedef struct RecastData {
int vertsperpoly;
float detailsampledist;
float detailsamplemaxerror;
- short pad1, pad2;
+ char partitioning;
+ char pad1;
+ short pad2;
} RecastData;
+#define RC_PARTITION_WATERSHED 0
+#define RC_PARTITION_MONOTONE 1
+#define RC_PARTITION_LAYERS 2
+
typedef struct GameData {
/* standalone player */