Commit 2477c561 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed initial fov 2

parent f6160557
...@@ -213,6 +213,7 @@ function light_init(){ ...@@ -213,6 +213,7 @@ function light_init(){
deep_init(); deep_init();
//align_init(); //align_init();
x3d_initial_camera_placement(); x3d_initial_camera_placement();
Scene.resize();
x3d_events(); x3d_events();
leaf_events(); leaf_events();
......
...@@ -116,7 +116,7 @@ X3DOMObject.prototype.resize = function(){ ...@@ -116,7 +116,7 @@ X3DOMObject.prototype.resize = function(){
var fov = w/h*self._FOV; var fov = w/h*self._FOV;
//fov = Math.PI/2; //fov = Math.PI/2;
console.log(fov); //console.log(fov);
self.setFoV(fov); self.setFoV(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