Explorar o código

Add div canvasZone

This will allow additional Playground apps to run when unzipping the
results of "Get .zip" button locally. An example is app
[this](http://www.babylonjs-playground.com/#1MOTR8#1) which was mentioned
in [this forum thread](http://www.html5gamedevs.com/topic/19117-how-to-set-scene-background-transparent/).
Wink Saville %!s(int64=8) %!d(string=hai) anos
pai
achega
67d039ce99
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Playground/zipContent/index.html

+ 3 - 1
Playground/zipContent/index.html

@@ -26,7 +26,9 @@
         </style>
     </head>
 <body>
-    <canvas id="renderCanvas"></canvas>
+    <div id="canvasZone">
+        <canvas id="renderCanvas"></canvas>
+    </div>
     <script>
         var canvas = document.getElementById("renderCanvas");
         var engine = new BABYLON.Engine(canvas, true);