Skip to Content
GPGPU Programming for Games and Science
book

GPGPU Programming for Games and Science

by David H. Eberly
August 2014
Intermediate to advanced
469 pages
16h 30m
English
A K Peters/CRC Press
Content preview from GPGPU Programming for Games and Science
Linear and Affine Algebra 307
Let the initial body axes be the orthonormal right-handed basis
{U
0
, U
1
, U
2
}. The vectors are unit-length, mutually perpendicular, and
U
0
× U
1
= U
2
. Let the rotation angles be θ
i
for 0 i 2 and define
s
i
=sinθ
i
and c
i
=cosθ
i
. The rotation matrix by an angle θ corresponding
to an axis with unit-length direction V is R(V).
The illustration assumes the vector-on-the-right multiplication convention.
The first rotation is by angle θ
0
about the body axis U
0
; let the rotation
matrix be denoted R
0
= R(U
0
0
). The second rotation is by angle θ
1
about
the rotated body axis R
0
U
0
; the rotation matrix is R
1
= R(R
0
U
0
1
). The
third rotation is by angle θ
2
about the twice-rotated body axis R
1
R
0
U
2
;
the rotation matrix is R
2
= R(R
1
R
0
U
2
2
). The composition ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Graphics Gems V (IBM Version)

Graphics Gems V (IBM Version)

Alan W. Paeth
GPU Pro 6

GPU Pro 6

Wolfgang Engel

Publisher Resources

ISBN: 9781466595354