From e5e9fbfaf040140bbc152bcf9b013d01ae2884df Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Jul 2015 14:12:35 +1000 Subject: Replace MFace use by MLoopTri w/ remash modifier D1419 by @lichtwerk --- intern/dualcon/dualcon.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'intern/dualcon/dualcon.h') diff --git a/intern/dualcon/dualcon.h b/intern/dualcon/dualcon.h index c1452a72970..6ec63f4fdac 100644 --- a/intern/dualcon/dualcon.h +++ b/intern/dualcon/dualcon.h @@ -32,17 +32,25 @@ extern "C" { #endif typedef float (*DualConCo)[3]; -typedef unsigned int (*DualConFaces)[4]; + +typedef unsigned int (*DualConTri)[3]; + +typedef unsigned int (*DualConLoop); + struct DerivedMesh; typedef struct DualConInput { + DualConLoop mloop; + DualConCo co; int co_stride; int totco; - DualConFaces faces; - int face_stride; - int totface; + DualConTri looptri; + int tri_stride; + int tottri; + + int loop_stride; float min[3], max[3]; } DualConInput; -- cgit v1.2.3