From 73724c111ca839449212fdab528b52fcb081b9ea Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 9 Nov 2018 06:47:54 +0100 Subject: [PATCH] - minor adjustments --- src/lightmap/collision.h | 2 +- src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lightmap/collision.h b/src/lightmap/collision.h index 08ca533..c3ad4df 100644 --- a/src/lightmap/collision.h +++ b/src/lightmap/collision.h @@ -99,6 +99,7 @@ public: static TraceHit find_first_hit(TriangleMeshShape *shape, const kexVec3 &ray_start, const kexVec3 &ray_end); +private: struct Node { Node() = default; @@ -119,7 +120,6 @@ public: std::vector nodes; int root = -1; -private: static float sweep(TriangleMeshShape *shape1, SphereShape *shape2, int a, const kexVec3 &target); static bool find_any_hit(TriangleMeshShape *shape1, TriangleMeshShape *shape2, int a, int b); diff --git a/src/main.cpp b/src/main.cpp index 02d78bf..5c0fba5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -158,7 +158,7 @@ static option long_opts[] = {0,0,0,0} }; -static const char short_opts[] = "wVgGvbNrReEm:o:f:p:s:d:PqtzZXx5c"; +static const char short_opts[] = "wVgGvbNrReEm:o:f:p:s:d:PqtzZXx5cj:Q:S:M:"; // CODE --------------------------------------------------------------------