Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Desplandis committed Apr 2, 2024
1 parent bbb3509 commit 2506e26
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 40 deletions.
2 changes: 1 addition & 1 deletion itowns/dev/dist/itowns.js

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions itowns/dev/docs/api/View/GlobeView.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,6 @@ <h2>Example</h2>
}
var view = new itowns.GlobeView(viewerDiv, placement);</code></pre>


<caption><b>Enable WebGl 1.0 instead of WebGl 2.0.</b></caption>



<pre class="prettyprint source lang-js"><code>var viewerDiv = document.getElementById('viewerDiv');
const placement = {
coord: new itowns.Coordinates('EPSG:4326', 2.351323, 48.856712),
range: 25000000,
}
var view = new itowns.GlobeView(viewerDiv, placement, { renderer: { isWebGL2: false } });</code></pre>




Expand Down
9 changes: 0 additions & 9 deletions itowns/dev/docs/api/View/PlanarView.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@ <h2>Example</h2>



<caption><b>Enable WebGl 1.0 instead of WebGl 2.0.</b></caption>



<pre class="prettyprint source lang-js"><code>var viewerDiv = document.getElementById('viewerDiv');
const extent = new Extent('EPSG:3946', 1837816.94334, 1847692.32501, 5170036.4587, 5178412.82698);
var view = new itowns.PlanarView(viewerDiv, extent, { renderer: { isWebGL2: false } });</code></pre>


<caption><b>Instance with placement on the ground.</b></caption>


Expand Down
18 changes: 0 additions & 18 deletions itowns/dev/docs/api/View/View.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,24 +128,6 @@ <h4>Parameters</h4>





<ul class="params">

<li>
<code>options.renderer.isWebGL2</code>
(default: <code>true</code>)


&mdash; <span><p>enable webgl 2.0 for THREE.js.</p></span>



</li>

</ul>


</li>

<li>
Expand Down

0 comments on commit 2506e26

Please sign in to comment.