提交 441c5321 编写于 作者: G gogoend

Merge branch 'dev' of github.com:mrdoob/three.js into zh_doc

此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -56,7 +56,7 @@
This means that calling
<code>
var m = new Matrix4();
var m = new THREE.Matrix4();
m.set( 11, 12, 13, 14,
21, 22, 23, 24,
......
......@@ -20,7 +20,7 @@
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=utf-8&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;My first three.js app&lt;/title&gt;
&lt;style&gt;
body { margin: 0; }
......@@ -118,7 +118,7 @@
<h2>The result</h2>
<p>Congratulations! You have now completed your first three.js application. It's simple, you have to start somewhere.</p>
<p>The full code is available below. Play around with it to get a better understanding of how it works.</p>
<p>The full code is available below and as an editable [link:https://jsfiddle.net/mkba0ecu/ live example]. Play around with it to get a better understanding of how it works.</p>
<code>
&lt;html&gt;
......
......@@ -20,7 +20,7 @@
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=utf-8&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;My first three.js app&lt;/title&gt;
&lt;style&gt;
body { margin: 0; }
......
......@@ -22,8 +22,6 @@
<script src="../examples/js/libs/chevrotain.min.js"></script> <!-- VRML -->
<script src="../examples/js/libs/jszip.min.js"></script>
<script src="../examples/js/libs/inflate.min.js"></script> <!-- FBX -->
<script src="../examples/js/libs/lzma.js"></script> <!-- CTM -->
<script src="../examples/js/libs/ctm.js"></script> <!-- CTM -->
<script src="../examples/js/loaders/AMFLoader.js"></script>
<script src="../examples/js/loaders/AWDLoader.js"></script>
......@@ -45,7 +43,6 @@
<script src="../examples/js/loaders/TDSLoader.js"></script>
<script src="../examples/js/loaders/VRMLLoader.js"></script>
<script src="../examples/js/loaders/VTKLoader.js"></script>
<script src="../examples/js/loaders/ctm/CTMLoader.js"></script>
<script src="../examples/js/exporters/ColladaExporter.js"></script>
<script src="../examples/js/exporters/GLTFExporter.js"></script>
......
此差异已折叠。
......@@ -13,8 +13,6 @@ const staticAssets = [
'../examples/js/libs/chevrotain.min.js',
'../examples/js/libs/jszip.min.js',
'../examples/js/libs/inflate.min.js',
'../examples/js/libs/lzma.js',
'../examples/js/libs/ctm.js',
'../examples/js/loaders/AMFLoader.js',
'../examples/js/loaders/AWDLoader.js',
......@@ -36,7 +34,6 @@ const staticAssets = [
'../examples/js/loaders/TDSLoader.js',
'../examples/js/loaders/VRMLLoader.js',
'../examples/js/loaders/VTKLoader.js',
'../examples/js/loaders/ctm/CTMLoader.js',
'../examples/js/exporters/ColladaExporter.js',
'../examples/js/exporters/GLTFExporter.js',
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -2205,6 +2205,7 @@ var GLTFLoader = ( function () {
pointsMaterial.color.copy( material.color );
pointsMaterial.map = material.map;
pointsMaterial.lights = false; // PointsMaterial doesn't support lights yet
pointsMaterial.sizeAttenuation = false; // glTF spec says points should be 1px
this.cache.add( cacheKey, pointsMaterial );
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册