Skip to Main Content
3D Game Engine Design, 2nd Edition
book

3D Game Engine Design, 2nd Edition

by David Eberly
November 2006
Intermediate to advanced content levelIntermediate to advanced
1040 pages
26h 31m
English
CRC Press
Content preview from 3D Game Engine Design, 2nd Edition
18.9 An Application Layer 853
The array m_akWorldAxis stores the world coordinate frame for the purposes
of camera motion. The translation speed is
m_fTrnSpeed, and the rotation speed is
m_fRotSpeed. The other two float data members in the camera motion section,
m_fTrnSpeedFactor and m_fRotSpeedFactor, are multiplicative (or div ision) factors
for adjusting the current speeds. The member function
InitializeCameraMotion ini-
tializes the speeds and factors. It also uses the camera’s local coordinate axes at the time
of the call to initialize
m_akWorldAxis. The camera local axes are presumably set in the
application’s
OnInitialize call to place the camera in the world coordinate frame of
the scene graph. The entry 0 of the world axis ar ray may be thought ...
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

3D Game Engine Architecture

3D Game Engine Architecture

David Eberly
Blender 3D By Example - Second Edition

Blender 3D By Example - Second Edition

Oscar Baechler, Xury Greer
Computer Graphics

Computer Graphics

Alexey Boreskov, Evgeniy Shikin

Publisher Resources

ISBN: 9781482267303