five-on-it / apps/client/src/renderer/camera / aimLead
Function: aimLead()
aimLead(
dx,dz,share?):Vec3
Defined in: apps/client/src/renderer/camera.ts:108
How far the view leans toward the cursor on foot, (dx, dz) away, the way a top-down shooter does; share scales it (the settings' look-ahead: 0 not at all, 1 the game's).
Parameters
dx
number
dz
number
share?
number = 1