Web domain - Page 360 OpenGL Super Bible! float v[3][3] =

Page 360 OpenGL Super Bible! float v[3][3] = {{ 15.0f, 0.0f, 30.0f}, { 0.0f, 15.0f, 30.0f}, { 0.0f, 0.0f, 60.0f}}; // Calculate the normal for the plane calcNormal(v,normal); // Draw the triangle using the plane normal // for all the vertices glBegin(GL_TRIANGLES); glNormal3fv(normal); glVertex3fv(v[0]); glVertex3fv(v[1]); glVertex3fv(v[2]); glEnd(); See Also glTexCoord, glVertex
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.

Leave a Reply