Trade-offs and warnings
Consult the linked header for the meaning, lifetime and permitted use of this declaration.
EPOK RUNTIME
Field
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
A height grid, which is the same idea as the ramp taken to two axes and arbitrary steps: a surface to stand on, never an obstacle.
const int16_t * heightsA height grid, which is the same idea as the ramp taken to two axes and arbitrary steps: a surface to stand on, never an obstacle.
#include "collision.hpp"
epok::ColliderT& object = /* obtain a valid instance */;
auto value = object.heights;Consult the linked header for the meaning, lifetime and permitted use of this declaration.
Declared in runtime/collision.hpp:57