Skip to contents

Vector3 Refract

Usage

vector3_refract(v, n, r)

Arguments

v

A numeric vector of length 3.

n

A numeric vector of length 3.

r

A number.

Value

A numeric vector of length 3

Examples

vector3_refract(c(0, 0, 0), c(0, 0, 0), 0.0)
#> x y z 
#> 0 0 0