Epok Engine

EPOK RUNTIME

epok::gte_shared_origin_limit

Variable

Variable

Largest Q8 chunk origin that keeps origin + any int16 Q12 vertex within the GTE's 16-bit vector inputs.

Belongs to
epok
Header
gte_geometry.hpp

Declaration

Declaration
const int32_t gte_shared_origin_limit

Largest Q8 chunk origin that keeps origin + any int16 Q12 vertex within the GTE's 16-bit vector inputs.

Type
const int32_t
Storage
Namespace scope

Example

C++ example
#include "gte_geometry.hpp"

auto value = epok::gte_shared_origin_limit;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/gte_geometry.hpp:46