Game Development Reference
In-Depth Information
glBegin(GL_TRIANGLES);
glVertex3f(0.f, 0.f, 0.f);
glVertex3f(1.f, 0.f, 0.f);
glVertex3f(0.f, 1.f, 0.f);
glEnd();
We need to be aware of the culling mode enabled when rendering geometrical data that we
generated or imported, if the primitive or model is not showing up, or it looks inside out, it
is possible the winding order or the culling mode is not set to the correct value.
Search WWH ::




Custom Search