Commit c2c655d5 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed FOV ratio coefficient - for window resizing

parent af26c655
......@@ -116,7 +116,9 @@ X3DOMObject.prototype.resize = function(){
top: (h/2-$("#crosshair_v").height()/2)+"px"
});
var fov = w/h*self._FOV;
//var fov = w/h*self._FOV;
// fixed ratio
var fov = 1.8*self._FOV;
//fov = Math.PI/2;
//console.log(fov);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment