23825784PolygonCollision_OGL
所属分类:OpenGL
开发工具:Visual C++
文件大小:46KB
下载次数:10
上传日期:2008-11-27 15:52:13
上 传 者:
herozyda
说明: 主要是消隐的实现,相当有用,很不错的,赶快下吧
(Blanking is mainly the realization of very useful, very good, as soon as possible, are you)
文件列表:
Line Segment and Polygon Collision (0, 2003-02-26)
Line Segment and Polygon Collision\3DMath.cpp (27883, 2002-12-04)
Line Segment and Polygon Collision\3DMath.h (3168, 2002-01-08)
Line Segment and Polygon Collision\Init.cpp (10973, 2002-01-08)
Line Segment and Polygon Collision\Main.cpp (13024, 2003-04-19)
Line Segment and Polygon Collision\main.h (2352, 2002-01-08)
Line Segment and Polygon Collision\PolygonCollision.exe (45056, 2003-04-19)
Line Segment and Polygon Collision\PolygonCollision.sln (932, 2003-04-19)
Line Segment and Polygon Collision\PolygonCollision.suo (8704, 2003-04-19)
Line Segment and Polygon Collision\PolygonCollision.vcproj (4218, 2003-04-19)
//***********************************************************************
//
// - "Talk to me like I'm a 3 year old!" Programming Lessons -
//
// $Author: DigiBen DigiBen@GameTutorials.com
//
// $Program: PolygonCollision
//
// $Description: This demonstrates line and polygon collision.
//
// $Date: 7/11/01
//
//***********************************************************************
Files: Main.cpp (The Source File containing the main program code)
Init.cpp (The Source File containing the Win32 and OpenGL initialization code)
3DMath.cpp (The Source File containing the 3D math functions)
3DMath.h (The Header File containing the 3D math definitions)
main.h (The Header File containing definitions for the main program)
PolygonCollision.vcproj (The VC++ Project File holding the project info)
PolygonCollision.sln (The Solution File holding the solution info)
Libraries: opengl32.lib (The OpenGL Interface Library needed to compile the program)
glu32.lib (The OpenGL Utility 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 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
the Win32 program should pop up. :)
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
近期下载者:
相关文件:
收藏者: