inochi2d v0.8.3 (2023-08-11T04:34:11Z)
Dub
Repo
dampen
inochi2d
math
Smoothly dampens from a position to a target
V
dampen
(V pos, V target, double delta, double speed)
V
dampen
(
V
)
(
V
pos
,
V
target
,
double
delta
,
double
speed
= 1
)
if
(
isVector
!
V
)
float
dampen
(float pos, float target, double delta, double speed)
Meta
Source
See Implementation
inochi2d
math
modules
camera
serialization
transform
triangle
aliases
vec2us
vec3us
vec4us
functions
areLineSegmentsIntersecting
contains
dampen
Smoothly dampens from a position to a target