Click here to Skip to main content
15,891,033 members
Articles / Multimedia / OpenGL

OpenGL Triangle Basics

Rate me:
Please Sign up or sign in to vote.
3.47/5 (11 votes)
20 Jul 20022 min read 112.1K   2.8K   24  
A little dialog example showing you the basic movements of an OpenGL triangle.
#define ID_DIALOG 101
#define IDC_STRUCT 999
#define IDC_ABOUT 56

#define ANGX  2001
#define ANGY  2002
#define ANGZ  2003

#define FIRSTX  3001
#define FIRSTY  3002
#define SECONDX  3003
#define SECONDY  3004
#define THIRDX  3005
#define THIRDY  3006

#define IDC_SPEED  4001

#define IDC_MODIFY  7001

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Belgium Belgium
bla bla bla

Comments and Discussions