Mercurial > hg > orthanc-stone
comparison Samples/WebAssembly/BasicScene.html @ 618:0925b27e8750
mouse events in wasm sample
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 May 2019 18:58:46 +0200 |
parents | 97926984d5d0 |
children |
comparison
equal
deleted
inserted
replaced
617:7efa2543699d | 618:0925b27e8750 |
---|---|
48 height: 50%; | 48 height: 50%; |
49 } | 49 } |
50 </style> | 50 </style> |
51 </head> | 51 </head> |
52 <body> | 52 <body> |
53 <canvas id="mycanvas1"></canvas> | 53 <canvas id="mycanvas1" oncontextmenu="return false;"></canvas> |
54 <canvas id="mycanvas2"></canvas> | 54 <canvas id="mycanvas2" oncontextmenu="return false;"></canvas> |
55 <canvas id="mycanvas3"></canvas> | 55 <canvas id="mycanvas3" oncontextmenu="return false;"></canvas> |
56 | 56 |
57 <script type="text/javascript"> | 57 <script type="text/javascript"> |
58 if (!('WebAssembly' in window)) { | 58 if (!('WebAssembly' in window)) { |
59 alert('Sorry, your browser does not support WebAssembly :('); | 59 alert('Sorry, your browser does not support WebAssembly :('); |
60 } else { | 60 } else { |