From 55ab61fe7df03349d8ca884cf6e0cbded87001fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sun, 3 Feb 2019 19:52:12 -0800 Subject: [PATCH] Fixed build. --- tools/geometryc/geometryc.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/geometryc/geometryc.cpp b/tools/geometryc/geometryc.cpp index 96dbaf277..9ad7a4cf7 100644 --- a/tools/geometryc/geometryc.cpp +++ b/tools/geometryc/geometryc.cpp @@ -59,7 +59,7 @@ namespace stl = tinystl; #include "bounds.h" -typedef std::vector bx::Vec3Array; +typedef std::vector Vec3Array; struct Index3 { @@ -258,7 +258,7 @@ void write(bx::WriterI* _writer, const void* _vertices, uint32_t _numVertices, u Sphere minSphere; calcMinBoundingSphere(minSphere, _vertices, _numVertices, _stride); - if (minSphere.m_radius > maxSphere.m_radius) + if (minSphere.radius > maxSphere.radius) { bx::write(_writer, maxSphere); } @@ -479,9 +479,9 @@ int main(int _argc, const char* _argv[]) // https://en.wikipedia.org/wiki/Wavefront_.obj_file - bx::Vec3Array positions; - bx::Vec3Array normals; - bx::Vec3Array texcoords; + Vec3Array positions; + Vec3Array normals; + Vec3Array texcoords; Index3Map indexMap; TriangleArray triangles; GroupArray groups;