File tree 2 files changed +1
-12
lines changed
2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 128
128
< canvas id ="myGLCanvas " width ="1000 " height ="800 "> </ canvas >
129
129
< form id ="input_form ">
130
130
< fieldset >
131
- < legend > Frame Parameters</ legend >
131
+ < legend > Frame Parameters v1.0 </ legend >
132
132
< input type ="radio " name ="primitive " id ="wireframe " value ="wireframe "> Wireframe
133
133
< input type ="radio " name ="primitive " id ="polygon " id ="polygon " value ="polygon " checked > Polygon
134
134
< input type ="radio " name ="primitive " id ="wirepoly " value ="wirepoly " > Polygon with Edges
Original file line number Diff line number Diff line change @@ -618,14 +618,6 @@ function handleKeyUp(event) {
618
618
currentlyPressedKeys [ event . key ] = false ;
619
619
}
620
620
621
- function handleTouchDown ( event ) {
622
- eulerY += 1 ;
623
- }
624
-
625
- function handleTouchUp ( event ) {
626
- eulerY -= 1 ;
627
- }
628
-
629
621
function setupSkyBox ( ) {
630
622
mySkyBox = new SkyBox ( ) ;
631
623
mySkyBox . loadBuffer ( ) ;
@@ -649,8 +641,6 @@ function setupSkyBox() {
649
641
gl . depthFunc ( gl . LEQUAL ) ;
650
642
document . onkeydown = handleKeyDown ;
651
643
document . onkeyup = handleKeyUp ;
652
- document . ontouchstart = handleTouchDown ;
653
- document . ontouchend = handleTouchUp ;
654
644
tick ( ) ;
655
645
}
656
646
@@ -674,6 +664,5 @@ function tick() {
674
664
requestAnimFrame ( tick ) ;
675
665
//animate();
676
666
draw ( ) ;
677
- //console.log(rMatrix);
678
667
}
679
668
You can’t perform that action at this time.
0 commit comments