Skip to content

five-on-it / apps/client/src/renderer/camera / lookAheadOf

Function: lookAheadOf() ​

lookAheadOf(velocity): Vec3

Defined in: apps/client/src/renderer/camera.ts:156

How far the view looks ahead along a velocity (m): LOOK_AHEAD_SECONDS of it, LOOK_AHEAD_MAX at the most.

Parameters ​

velocity ​

Vec3

Returns ​

Vec3