- minor adjustments

This commit is contained in:
Magnus Norddahl 2018-11-09 06:47:54 +01:00
parent b55a9671e5
commit 73724c111c
2 changed files with 2 additions and 2 deletions

View file

@ -99,6 +99,7 @@ public:
static TraceHit find_first_hit(TriangleMeshShape *shape, const kexVec3 &ray_start, const kexVec3 &ray_end); static TraceHit find_first_hit(TriangleMeshShape *shape, const kexVec3 &ray_start, const kexVec3 &ray_end);
private:
struct Node struct Node
{ {
Node() = default; Node() = default;
@ -119,7 +120,6 @@ public:
std::vector<Node> nodes; std::vector<Node> nodes;
int root = -1; int root = -1;
private:
static float sweep(TriangleMeshShape *shape1, SphereShape *shape2, int a, const kexVec3 &target); 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); static bool find_any_hit(TriangleMeshShape *shape1, TriangleMeshShape *shape2, int a, int b);

View file

@ -158,7 +158,7 @@ static option long_opts[] =
{0,0,0,0} {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 -------------------------------------------------------------------- // CODE --------------------------------------------------------------------