three.js - Camera zoom in Intel XDK -
I'm building a simple mobile application using Intel XDK and 3G. The problem is, I do not know that the second object is being clicked after zooming the object (sorry for my bad english)
One way to zoom in a three JS object is with the jQuery plugin.
Here is an example.
Based on this example. I have added the following attributes in the two dashed boxes
This allows you to zoom in to each box twice incremented with one click / touch and zoom out with one click / touch.
Even after you pinched to zoom, I commented on the following tag.
& lt ;! - & lt; Meta name = "viewport" content = "width = device-width, user-scalable = no, minimum-scale = 1.0, maximum-level = 1.0" & gt; - & gt;
Comments
Post a Comment