Contents

SushiEngine

minimum_useful_speed

Scalar minimum_useful_speed(const Vector3 &position, Scalar dt) noexcept

Parameters

NameTypeDescription
positionconst Vector3 &
dtScalar

Frame time in seconds; zero or negative yields no floor.

Returns

Scalar

Description

Returns the slowest speed that still displaces the camera at a position.

See also

engine/foundation/core/include/README.md