Handbook
Glossary
mv-matrix ( pitch: float yaw: float location: float-4 -- matrix: matrix4 )
Vocabulary
benchmark
.
3d-matrix-vector
Inputs
pitch
a
float
yaw
a
float
location
a
float-4
Outputs
matrix
a
matrix4
Definition
USING:
math.matrices.simd
math.vectors
math.vectors.simd
typed
;
IN:
benchmark.3d-matrix-vector
TYPED::
mv-matrix
( pitch: float yaw: float location: float-4 -- matrix: matrix4 )
float-4{
1.0 0.0 0.0 0.0
}
pitch
rotation-matrix4
float-4{
0.0 1.0 0.0 0.0
}
yaw
rotation-matrix4
location
vneg
translation-matrix4
m4.
m4.
;