Skip to contents

Vector3 Unproject

Usage

vector3_unproject(source, projection, view)

Arguments

source

A numeric vector of length 3.

projection

A 4x4 numeric matrix.

view

A 4x4 numeric matrix.

Value

A numeric vector of length 3

Examples

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