Skip to content

Commit fa06925

Browse files
committed
Three.js バージョンアップ r100→r101
1 parent d7affd1 commit fa06925

50 files changed

Lines changed: 76 additions & 70 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,2 @@
1-
The MIT License (MIT)
2-
3-
Copyright (c) 2017 ICS INC.
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
22-
1+
Copyright 2019 ICS INC.
2+
All Rights Reserved.

ReadMe.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ WebGLのフレームワーク「Three.js」の入門サイトです。初学者
55
## 目次
66

77
- [目次をご覧ください](https://ics.media/tutorial-three/)
8+
9+
## ライセンス
10+
11+
フォルダーによって、ライセンスが異なるのでご注意ください。`samples`フォルダーのみMIT LICENSEで、そのほかの資材はICSが著作権を所有しています。複製、複写、転載は禁止しています。

docs/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ modified_date: 2019-01-08
2727
<html>
2828
<head>
2929
<meta charset="utf-8"/>
30-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
30+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
3131
<script>
3232
// ページの読み込みを待つ
3333
window.addEventListener('load', init);
@@ -104,7 +104,7 @@ Three.jsはJavaScriptのライブラリですが、このファイルを読み
104104
CDN(コンテンツ・デリバリー・ネットワーク)で提供されているURLを使うのが導入にお手軽です。
105105

106106
```html
107-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
107+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
108108
```
109109

110110
WebGLの処理はページの読み込みが終わってから実行させます。`addEventListener()`関数を使って`load`イベントが発生するのを監視させ、ページが読み込み終わったときに実行させたい関数を指定します。この関数`init()`の中にThree.jsのコードを書いていきます。

samples/LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 ICS INC.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

samples/camera_basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<meta charset="utf-8" />
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
55
<script>
66
// ページの読み込みを待つ
77
window.addEventListener('load', init);

samples/camera_basic_earth.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<meta charset="utf-8" />
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
55
<script>
66
// ページの読み込みを待つ
77
window.addEventListener('load', init);

samples/camera_mosue_drag.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<meta charset="utf-8" />
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
55
<script>
66
// ページの読み込みを待つ
77
window.addEventListener('load', init);

samples/camera_mouse_x.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<meta charset="utf-8" />
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
55
<script>
66
// ページの読み込みを待つ
77
window.addEventListener('load', init);

samples/camera_orbitcontrols.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<meta charset="utf-8" />
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
55
<script src="js/controls/OrbitControls.js"></script>
66
<script>
77
// ページの読み込みを待つ

samples/camera_orbitcontrols_basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22
<head>
33
<meta charset="utf-8" />
4-
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/100/three.min.js"></script>
4+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/101/three.min.js"></script>
55
<script src="js/controls/OrbitControls.js"></script>
66
<script>
77
// ページの読み込みを待つ

0 commit comments

Comments
 (0)