tess
1.0.0
Performance-first tile and path simulation substrate
Toggle main menu visibility
Loading...
Searching...
No Matches
request.h
1
#pragma once
2
3
#include <tess/core/shape.h>
4
5
#include <cstdint>
6
7
namespace
tess {
8
10
struct
PathRequest
{
11
Coord3
start;
12
Coord3
goal;
13
};
14
16
enum class
MissingChunkPolicy : std::uint8_t {
17
// Treat a non-resident chunk as impassable. The search stays within the
18
// resident set and may report NoPath even when a route exists through
19
// chunks that are not currently materialized.
20
AssumeImpassable,
21
// Do not report NoPath across a non-resident boundary: if the search
22
// exhausts the resident set having skipped at least one non-resident
23
// neighbor, it returns Indeterminate instead of NoPath.
24
ReportIndeterminate,
25
};
26
34
struct
PathTieBreak
{
35
std::uint64_t seed = 0;
36
};
37
38
}
// namespace tess
tess::Coord3
Definition
shape.h:46
tess::PathRequest
Specifies inclusive start and goal coordinates for a path query.
Definition
request.h:10
tess::PathTieBreak
Definition
request.h:34
include
tess
path
request.h
Generated by
1.17.0