Epok Engine

EPOK RUNTIME

epok::world2d::depth_buckets

Variable

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.

Variable

The 3D world's ordering table: buckets of a quarter world unit of camera depth, from the camera to 128 units (runtime/main.cpp asserts that its table matches).

Belongs to
epok::world2d
Header
world2d_tiles.hpp

Declaration

Declaration
const int depth_buckets

The 3D world's ordering table: buckets of a quarter world unit of camera depth, from the camera to 128 units (runtime/main.cpp asserts that its table matches).

Type
const int
Storage
Namespace scope

Example sketch

C++ example
#include "world2d_tiles.hpp"

auto value = epok::world2d::depth_buckets;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in runtime/world2d_tiles.hpp:393