Skip to contents

Vector3 Normalize

Usage

vector3_normalize(v)

Arguments

v

A numeric vector of length 3.

Value

A numeric vector of length 3

Examples

vector3_normalize(c(0, 0, 0))
#> x y z 
#> 0 0 0