Skip to contents

Vector2 Reflect

Usage

vector2_reflect(v, normal)

Arguments

v

A numeric vector of length 2.

normal

A numeric vector of length 2.

Value

A numeric vector of length 2

Examples

vector2_reflect(c(100, 100), c(100, 100))
#>        x        y 
#> -3999900 -3999900