Commit 0c6d5390 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

added fps

parent fc10af50
......@@ -365,6 +365,13 @@ html, body, #x3d_wrapper {
background-color: red;
}
#window-info-fps{
position:absolute;
left: 2px;
bottom: 2px;
color: white;
}
#info-wrapper{
position: absolute;
left:2px;
......
......@@ -540,6 +540,7 @@ function deep_init(){
Scene._X3DOM_SCENE_INIT_DONE = false;
}
$("#window-info-fps").html(Scene.element.runtime.fps.toFixed(1)+" fps");
};
}
......
......@@ -126,6 +126,8 @@ Instructions:
5. To save the result click upload button (Camera initial position and orientation data) in the menu.' class='edit'></div>
</div>
<div id='window-info-fps'>0</div>
<div id='info-wrapper'>
<div id='window-error'></div>
<div id='window-viewinfo'></div>
......
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