From 502cc59eee3eb6db99e6823c5dbf85c1aff1c5cd Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 7 Oct 2018 04:54:32 +0300 Subject: [PATCH] fix 64bit compilation --- libs/dragplanes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/dragplanes.h b/libs/dragplanes.h index 9cb94a74..bec222df 100644 --- a/libs/dragplanes.h +++ b/libs/dragplanes.h @@ -172,7 +172,7 @@ void bestPlaneDirect( const AABB& aabb, SelectionTest& test, Plane3& plane, Sele Plane3 planes[6]; aabb_planes_oriented( aabb_, rotation, planes ); - const std::size_t indices[24] = { + const IndexPointer::index_type indices[24] = { 2, 1, 5, 6, //+x //right 3, 7, 4, 0, //-x //left 1, 0, 4, 5, //+y //front