-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 4.73 KB
/
.eslintcache
1
[{"/Users/Gaurav/Desktop/Work/babylonjs/playground/src/index.js":"1","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/App.js":"2","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/reportWebVitals.js":"3","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/Components/Instanced.js":"4","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/Components/Cloned1.js":"5","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/Components/Cloned.js":"6"},{"size":500,"mtime":1610453769000,"results":"7","hashOfConfig":"8"},{"size":1028,"mtime":1610743342000,"results":"9","hashOfConfig":"8"},{"size":362,"mtime":1610453769000,"results":"10","hashOfConfig":"8"},{"size":782,"mtime":1610743316000,"results":"11","hashOfConfig":"8"},{"size":842,"mtime":1610743325000,"results":"12","hashOfConfig":"8"},{"size":1328,"mtime":1642336844148,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"10x8179",{"filePath":"17","messages":"18","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"19","usedDeprecatedRules":"16"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"26","usedDeprecatedRules":"16"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/Gaurav/Desktop/Work/babylonjs/playground/src/index.js",[],["29","30"],"/Users/Gaurav/Desktop/Work/babylonjs/playground/src/App.js",["31","32"],"\nimport { Suspense } from 'react';\nimport { CannonJSPlugin, Vector3 } from '@babylonjs/core';\nimport { Engine, Scene } from 'react-babylonjs';\n\nimport './App.css';\nimport Cloned from './Components/Cloned';\nimport Cloned1 from './Components/Cloned1';\nimport Instanced from './Components/Instanced';\n\nimport * as CANNON from 'cannon';\nwindow.CANNON = CANNON;\n\nfunction App() {\n return <>\n <Engine antialias adaptToDeviceRatio canvasId='canvas1'>\n <Scene enablePhysics={[new Vector3(0, -9.81, 0), new CannonJSPlugin()]}>\n <arcRotateCamera\n name=\"camera1\"\n target={Vector3.Zero()}\n setTarget={[Vector3.Zero()]}\n alpha={0}\n beta={0}\n upperBetaLimit={Math.PI/2.5}\n radius={12}\n />\n <hemisphericLight name=\"light1\" direction={Vector3.Right()} />\n <Suspense fallback={null}>\n <Cloned />\n {/* <Cloned1 /> */}\n {/* <Instanced /> */}\n </Suspense>\n </Scene>\n </Engine>\n </>\n}\n\nexport default App;\n","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/reportWebVitals.js",[],"/Users/Gaurav/Desktop/Work/babylonjs/playground/src/Components/Instanced.js",[],"/Users/Gaurav/Desktop/Work/babylonjs/playground/src/Components/Cloned1.js",["33"],"import React, { useEffect, useState } from \"react\";\nimport { Vector3 } from \"@babylonjs/core\";\nimport { useScene, useSceneLoader } from \"react-babylonjs\";\nimport \"@babylonjs/loaders/glTF\";\n\nfunction Cloned1() {\n const scene = useScene();\n const sceneLoaderResults = useSceneLoader(\"./\", \"Boy.glb\");\n\n const [boxes, _] = useState([\n sceneLoaderResults.meshes[0], \n sceneLoaderResults.meshes[0].clone(), \n sceneLoaderResults.meshes[0].clone()\n ]);\n\n useEffect(() => {\n return () => {\n sceneLoaderResults.dispose();\n }\n }, [sceneLoaderResults]);\n \n return <>\n {boxes.map((b,i) => <box key={i} name={`box${i}`} position={new Vector3(i*2, 0, i*2)}>\n <mesh \n key={i} \n fromInstance={b} \n scaleToDimension={0.8} />\n </box>)}\n {console.log(scene.meshes)}\n </>\n}\n\nexport default Cloned1;","/Users/Gaurav/Desktop/Work/babylonjs/playground/src/Components/Cloned.js",[],{"ruleId":"34","replacedBy":"35"},{"ruleId":"36","replacedBy":"37"},{"ruleId":"38","severity":1,"message":"39","line":8,"column":8,"nodeType":"40","messageId":"41","endLine":8,"endColumn":15},{"ruleId":"38","severity":1,"message":"42","line":9,"column":8,"nodeType":"40","messageId":"41","endLine":9,"endColumn":17},{"ruleId":"38","severity":1,"message":"43","line":10,"column":17,"nodeType":"40","messageId":"41","endLine":10,"endColumn":18},"no-native-reassign",["44"],"no-negated-in-lhs",["45"],"no-unused-vars","'Cloned1' is defined but never used.","Identifier","unusedVar","'Instanced' is defined but never used.","'_' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]