Skip to contents

Vector3 Clamp Value

Usage

vector3_clamp_value(v, min, max)

Arguments

v

A numeric vector of length 3.

min

A number.

max

A number.

Value

A numeric vector of length 3

Examples

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