Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
x3domlet
Commits
2477c561
Commit
2477c561
authored
Jul 17, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed initial fov 2
parent
f6160557
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ui_init.js
js/ui_init.js
+1
-0
x3dom_init.js
js/x3dom_init.js
+1
-1
No files found.
js/ui_init.js
View file @
2477c561
...
...
@@ -213,6 +213,7 @@ function light_init(){
deep_init
();
//align_init();
x3d_initial_camera_placement
();
Scene
.
resize
();
x3d_events
();
leaf_events
();
...
...
js/x3dom_init.js
View file @
2477c561
...
...
@@ -116,7 +116,7 @@ X3DOMObject.prototype.resize = function(){
var
fov
=
w
/
h
*
self
.
_FOV
;
//fov = Math.PI/2;
console
.
log
(
fov
);
//
console.log(fov);
self
.
setFoV
(
fov
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment