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

added fps

parent fc10af50
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -540,6 +540,7 @@ function deep_init(){
            Scene._X3DOM_SCENE_INIT_DONE = false;
        }

        $("#window-info-fps").html(Scene.element.runtime.fps.toFixed(1)+" fps");        
    };

}
+2 −0
Original line number Diff line number Diff line
@@ -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>