In my iPad OpenGL based application, I am underlining a 2D and 3D object and it's the user's finger speed According to the rotation ... the screen is able to zoom those items when the user closes ... but whatever I want is to prevent the object from zooming to some extent, the object size is more than 2x user zoom Can not and Users Can not zoom out from the origin of the object size
I'm zooming the object with the help of "CATransform3DScale"
Please indicate any indication ....
Thanks in advance and appreciate the help.
If you are using the UIPinchGestureRecognizer and set its scale value directly as your 3D scale value, just a few Do this
if (scale> = 2.0f) {scale = 2.0f; } This is basically what I do.
Comments
Post a Comment