Nice, a good way to get started
thanx a lot...
Must be are :Code:int DrawGLScene(GLvoid) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); glTranslatef(0.0f,0.0f,-10.0f); glBegin(GL_TRIANGLES); glColor3f(0.0f,0.0f,0.0f); glVertex3f( 0.0f, 1.0f, 0.0f); glColor3f(0.0f,1.0f,0.0f); //red glVertex3f(-1.0f,-1.0f, 0.0f); glColor3f(1.0f,0.0f,1.0f); //red glVertex3f( 1.0f,-1.0f, 0.0f); glEnd(); return TRUE; }
because you will a red triangleCode:int DrawGLScene(GLvoid) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); glTranslatef(0.0f,0.0f,-10.0f); glBegin(GL_TRIANGLES); glColor3f(0.0f,0.0f,0.0f); glVertex3f( 0.0f, 1.0f, 0.0f); glColor3f(1.0f,0.0f,0.0f); //red glVertex3f(-1.0f,-1.0f, 0.0f); glColor3f(1.0f,0.0f,1.0f); //red glVertex3f( 1.0f,-1.0f, 0.0f); glEnd(); return TRUE; }![]()
true
unfortunately cant edit now
at last someone who really reads
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
Fixed.
Thankz, +REP
Why should I +Rep this piece of sh*it?![]()
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
thank you for your comment
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
Will you be introducing cross-platform programming with OpenGL, or is this all specific to Windows?
Wow I changed my sig!
sorry, but these tutorials are all windows specific.
cross-platform opengl would be much easier , you can setup an opengl window in less than 15 lines of code
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks