previous |  up  | next
 

Camera Part2   

Author:  TheTutor

Introduces the concept of a swiveling camera.  This camera class mimics the FPS camera in Quake3, by rotating around the world +Y axis when moving the mouse left and right and rotating around the camera's +X axis when moving the mouse up and down.

Functions/Methods Used:  Direct3DCreate9(), assert(), cosf(), sinf()

IDirect3DDevice9::  D3DXMatrixPerspectiveFovLH(), D3DXMatrixLookAtLH(), DrawIndexedPrimitiveUP()


purchase full version
Access EXE

 
 
 

 

 

 


 C
 C++
 Win32
 Direct3D
 OpenGL
 C#
 Java
 Free Tutorials