hello to all
i would like to control the rotation of my object with the mouse
here its what i want to achieve
http://mrdoob.com/projects/voxels/#A/Sb
those are the functions i have inside the plugin Q3DMaster
http://postimg.org/image/ydxokcc5x/
i added this but something is wrong on the formula
http://postimg.org/image/6r20xbf1l/
here its the result but with the wrong controls
http://mattepainting.be/test3/index.html
can someone help me to solve the XYZ problem with mouse control?