Contents

SushiEngine

from_floating_origin

WorldVector3 from_floating_origin(const FloatingOriginVector3 &position, double sector_size) noexcept

Parameters

NameTypeDescription
positionconst FloatingOriginVector3 &

Sector index and local offset to recompose.

sector_sizedouble

Side length of one sector, in world units (> 0); must match the value used to produce position.

Returns

WorldVector3

The absolute position in world (ECEF) space.

Description

Recomposes a sector + local offset into an absolute world position.