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

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -