RotateCube_D3D

所属分类:DirextX编程
开发工具:Visual C++
文件大小:73KB
下载次数:18
上传日期:2005-01-14 20:08:19
上 传 者daman
说明:  direct3d物理模拟
(Direct3D physical simulation)

文件列表:
Rotating Cube (0, 2003-07-20)
Rotating Cube\camera.cpp (1975, 2003-07-19)
Rotating Cube\camera.h (1177, 2003-07-19)
Rotating Cube\d3d_obj.cpp (13396, 2003-07-27)
Rotating Cube\d3d_obj.h (1924, 2003-07-19)
Rotating Cube\RotateCube.exe (139264, 2003-07-27)
Rotating Cube\RotateCube.sln (920, 2003-07-19)
Rotating Cube\RotateCube.vcproj (3366, 2003-07-27)
Rotating Cube\vector.cpp (2751, 2003-07-19)
Rotating Cube\vector.h (1545, 2003-03-09)
Rotating Cube\vertex_types.h (1691, 2003-06-13)
Rotating Cube\win_main.cpp (7422, 2003-07-27)

//*********************************************************************************// // // - "Talk to me like I'm a 3 year old!" Programming Lessons - // // $Author: TheTutor -- thetutor@gametutorials.com // // $Program: RotateCube // // $Description: Rotates a cube using D3D // // $Date: 7/19/03 // //*********************************************************************************// Files: win_main.cpp (The Source File containing the "window" code) camera.cpp (The Source File containing the camera implementation) d3d_obj.cpp (The Source File containing the "D3D Interface/Object" code) vector.cpp (The Source File containing the "vector" code) vector.h (The Header File containing the vector class defintion) d3d_obj.h (Header File containing "D3D Interface/Object" definitions) camera.h (The Header File containing the camera class definition) vertex_types.h (Header File containing FVF vertex definitions) RotateCube.vcproj (The VC++ Project File holding the project info) RotateCube.sln (The Solution File holding the solution info) Libraries: d3d9.lib (The Direct 3D v9.0 Library needed to compile the program) d3dx9.lib (The D3D v9.0 "Math" Library needed to compile the program) Instructions: If you have Microsoft Visual Studio .NET (version 7.0) just click on the .vcproj file. This will open up up visual c++. You will most likely see the code for .cpp. If you don't, press CRTL+ALT+L This will open the "Solution Explorer". There you should find two folders named "Source Files" and "Header Files". Double click on the "source" folder and you should see your source file(s) with a .cpp extension after it. Double click on the file and it will open up in your main window. Hit Control-F5 to run the program. You will probably see a prompt to compile/build the project. Click OK and a console window should pop up with the program. :) EULA: Your use of this tutorial constitutes your agreement to GameTutorials' Terms of Use found at: http://www.gametutorials.com/TermsOfUse.htm www.GameTutorials.com 2000-2003 GameTutorials

近期下载者

相关文件


收藏者