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 --------------------------------------------------------------------