five-on-it / apps/client/src/renderer/dog-view / turnToward
Function: turnToward()
turnToward(
from,to,dt):number
Defined in: apps/client/src/renderer/dog-view.ts:463
The heading a dog is drawn with, dt seconds on: turned from from toward to (rad) the shorter way round, no faster than a dog turns (the simulation turns it at once).
Parameters
from
number
to
number
dt
number
Returns
number