opengl object render problem
in
Contributed Library Questions
•
2 years ago
hi
im drawing a polygon plane like this
GLModel modeler = new GLModel(this, 4, TRIANGLE_FAN, GLModel.DYNAMIC );
// Updating the vertices to their initial positions.
modeler.initNormals();
modeler.beginUpdateVertices();
modeler.updateVertex(0, 0-w/2, h/2, 0);
modeler.updateVertex(1, 0-w/2, 0-h/2, 0);
modeler.updateVertex(2, w/2, 0-h/2, 0);
modeler.updateVertex(3, w/2, h/2, 0);
for some reson when i render i get a line in the middle of the two polygons that make the plane
any idas?
its like im seeing the polygon edge
10x
1