Ngày tải lên :
14/03/2014, 21:20
... Vector3( 200 , 300 , 900 ),
new Vector3 (0, 50, 0) ,
Vector3.Up);
Matrix projection = Matrix.CreatePerspectiveFieldOfView(
MathHelper.ToRadians (45 ),
GraphicsDevice.Viewport.AspectRatio,
0. 1f, 100 00. 0f);
... ArcBallCamera(Vector3.Zero, 0, 0, 0, MathHelper.PiOver2,
1 200 , 100 0, 200 0, GraphicsDevice);
Second, we need to update the updateCamera() function to reect the way this new
camera type moves:
void updateCamera(GameTime ... information.
First published: December 201 0
Production Reference: 107 12 10
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN
978-1- 849 6 90- 04 - 1
www.packtpub.com
Cover...