Skip to content

Commit

Permalink
Merge pull request #119 from MasatoMakino/bump-three
Browse files Browse the repository at this point in the history
bump : three.js rev 163 to 164
  • Loading branch information
MasatoMakino committed May 19, 2024
2 parents 177cb29 + 2877461 commit 64f751c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions demoSrc/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
PerspectiveCamera,
Scene,
WebGLRenderer,
REVISION,
} from "three";

export const initScene = (W, H) => {
Expand All @@ -22,6 +23,8 @@ export const initScene = (W, H) => {
renderer.setSize(W, H);
renderer.setPixelRatio(window.devicePixelRatio);

console.log(`Three.js revision ${REVISION}`);

//平行光源オブジェクト(light)の設定
const ambientLight = new AmbientLight(0xffffff, 1.0);
scene.add(ambientLight);
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"license": "MIT",
"devDependencies": {
"@masatomakino/gulptask-demo-page": "^0.8.0",
"@types/three": "^0.163.0",
"@types/three": "^0.164.0",
"@vitest/coverage-istanbul": "^1.6.0",
"browser-sync": "^3.0.2",
"canvas": "^2.11.2",
Expand Down

0 comments on commit 64f751c

Please sign in to comment.