mirror of
https://github.com/ZDoom/ZDRay.git
synced 2025-01-24 16:51:08 +00:00
- minor adjustments
This commit is contained in:
parent
b55a9671e5
commit
73724c111c
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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 --------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue