menu
vector_math package
documentation
vector_math_64.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))); }
vector_math package
documentation
vector_math_64
Vector2
reflect method
Vector2 class