Contents

SushiEngine

to_local

template <typename T>
constexpr Vector3T< T > to_local(const LocalFrame &frame, const WorldVector3 &world) noexcept

Parameters

NameType
frameconst LocalFrame &
worldconst WorldVector3 &

Returns

Vector3T< T >

Description

Subtracts the anchor from a world point in double and narrows the result to T once.