menu
flame package
documentation
input.dart
Vector2
reflect method
reflect method
dark_mode
light_mode
reflect
method
void
reflect
(
Vector2
normal
)
Reflect this.
Implementation
void reflect(Vector2 normal) { sub(normal.scaled(2.0 * normal.dot(this))); }
flame package
documentation
input
Vector2
reflect method
Vector2 class