Skip to contents

Vector3 Distance

Usage

vector3_distance(v1, v2)

Arguments

v1

A numeric vector of length 3.

v2

A numeric vector of length 3.

Value

A number

Examples

vector3_distance(c(0, 0, 0), c(0, 0, 0))
#> [1] 0