浏览代码

docs: update src/components/TresScene.ts

Co-authored-by: Tino Koch <17991193+Tinoooo@users.noreply.github.com>
Alvaro Saburido 2 年之前
父节点
当前提交
b3cd9d7a48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/TresScene.ts

+ 1 - 1
src/components/TresScene.ts

@@ -97,7 +97,7 @@ export const TresScene = defineComponent<TresSceneProps>({
 
 
       if (!camera) {
       if (!camera) {
         // eslint-disable-next-line max-len
         // eslint-disable-next-line max-len
-        logWarning('No camera found, creating a default perspective one, to have full control over a camera, please add one to the scene.')
+        logWarning('No camera found. Creating a default perspective camera. To have full control over a camera, please add one to the scene.')
         const camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 1000)
         const camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 1000)
         camera.position.set(3,3,3)
         camera.position.set(3,3,3)
         camera.lookAt(0,0,0)
         camera.lookAt(0,0,0)