Skip to contents

Vector3 Transform

Usage

vector3_transform(v, mat)

Arguments

v

A numeric vector of length 3.

mat

A 4x4 numeric matrix.

Value

A numeric vector of length 3

Examples

vector3_transform(c(0, 0, 0), diag(4))
#> x y z 
#> 0 0 0