Skip to contents

Matrix Rotate Zyx

Usage

matrix_rotate_zyx(angle)

Arguments

angle

A numeric vector of length 3.

Value

A 4x4 numeric matrix

Examples

matrix_rotate_zyx(c(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