We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9ef0e7 + 7a37ff8 commit d4a55acCopy full SHA for d4a55ac
docs/data/Welcome.md
@@ -18,7 +18,7 @@ const app = new WHS.App([
18
new WHS.SceneModule(), // Create a new THREE.Scene and set it to app.
19
20
new WHS.DefineModule('camera', new WHS.PerspectiveCamera({ // Apply a camera.
21
- position: new Vector3(0, 0, 50)
+ position: new THREE.Vector3(0, 0, 50)
22
})),
23
24
new WHS.RenderingModule({bgColor: 0x162129}), // Apply THREE.WebGLRenderer
examples/globals.js
@@ -19,7 +19,7 @@ export const $world = {
color: 0x162129
},
- pixelRatio: isMobile ? false : window.devicePixelRatio,
+ pixelRatio: false,
renderer: {
25
antialias: !isMobile
0 commit comments