Drawing multiple sprites

Problems with Canvas, OpenGL, etc...

Drawing multiple sprites

Postby biskoppen » Sun Jan 22, 2012 2:11 am

Is this the correct way to do it or am I not using viewport in the correct way?

for( int q = 0; q < 150; q ++ ){
gl.glViewport(x + (q*5), 200, 50, 50);
square.draw(gl);
}
biskoppen
Junior Developer
Junior Developer
 
Posts: 22
Joined: Tue Dec 27, 2011 5:35 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests