Contents

SushiEngine

reframe_plane_offset

template <typename T>
constexpr T reframe_plane_offset(T offset, const Vector3T< T > &normal, const LocalFrame &from, const LocalFrame &to) noexcept

Parameters

NameType
offsetT
normalconst Vector3T< T > &
fromconst LocalFrame &
toconst LocalFrame &

Returns

T

Description

Re-expresses the offset of the plane {p : dot(normal, p) = offset} from frame from in frame to.