update method
Implementation
void update(double dt) {
layers.forEach((layer) {
layer.update(
_delta
..setFrom(baseVelocity)
..multiply(layer.velocityMultiplier)
..scale(dt),
dt,
);
});
}
void update(double dt) {
layers.forEach((layer) {
layer.update(
_delta
..setFrom(baseVelocity)
..multiply(layer.velocityMultiplier)
..scale(dt),
dt,
);
});
}