Skip to contents

Matrix Translate

Usage

matrix_translate(x, y, z)

Arguments

x

A number.

y

A number.

z

A number.

Value

A 4x4 numeric matrix

Examples

matrix_translate(0.0, 0.0, 0.0)
#>      [,1] [,2] [,3] [,4]
#> [1,]    1    0    0    0
#> [2,]    0    1    0    0
#> [3,]    0    0    1    0
#> [4,]    0    0    0    1