inochi2d ~master (2022-05-09T16:23:53.3795516)
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
(
is_vector
!
V
)
float
dampen
(float pos, float target, double delta, double speed)
Meta
Source
See Implementation
inochi2d
math
modules
camera
serialization
transform
aliases
vec2u
vec2us
vec3u
vec3us
vec4u
vec4us
functions
areLineSegmentsIntersecting
contains
dampen
Smoothly dampens from a position to a target