Zooming and swiping with OpenGL ES
like this ?
glTranslatef(target.x*scale, target.y*scale * aspectRatio, 0);
glScalef(scale, scale * aspectRatio, 0);
glTranslatef(-target.x, -target.y, 0);
ah ok i guess it's like this.
You move scale - it works
you move a second time and the image jumps correct ?
could you write down a sequence of actions you want to do ?
for example moveto (1,0) scaleto (1.5,1.5) moveto(-1,0) scaleto(1,1)
btw if you have icq message me and i'll add you
You move scale - it works
you move a second time and the image jumps correct ?
could you write down a sequence of actions you want to do ?
for example moveto (1,0) scaleto (1.5,1.5) moveto(-1,0) scaleto(1,1)
btw if you have icq message me and i'll add you
You move scale - it works
you move a second time and the image jumps correct ?[/quote]
I don`t move scale - it works
I move scale - it jumps back before zoom
could you write down a sequence of actions you want to do ?[/quote]
swipe, pinch zoom
this corresponds to: moveby(1, 0), scaleby(delta, delta)
btw if you have icq message me and i'll add you[/quote]
I can create a new ICQ account if you have no jabber or skype
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement