-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintcache
1 lines (1 loc) · 5.67 KB
/
.eslintcache
1
[{"/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/index.js":"1","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/App.js":"2","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/reportWebVitals.js":"3","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/components/HospitalScene.js":"4","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/components/Model.js":"5","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/components/DoctorModel.js":"6"},{"size":500,"mtime":1611481403472,"results":"7","hashOfConfig":"8"},{"size":154,"mtime":1611486693390,"results":"9","hashOfConfig":"8"},{"size":362,"mtime":1611481403472,"results":"10","hashOfConfig":"8"},{"size":1362,"mtime":1611490729338,"results":"11","hashOfConfig":"8"},{"size":251,"mtime":1612041118045,"results":"12","hashOfConfig":"8"},{"size":274,"mtime":1611487621769,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"1pblm94",{"filePath":"17","messages":"18","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"19","messages":"20","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"21","messages":"22","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"23","usedDeprecatedRules":"16"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"26"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"29","usedDeprecatedRules":"16"},"/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/index.js",[],["30","31"],"/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/App.js",[],"/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/reportWebVitals.js",[],"/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/components/HospitalScene.js",["32","33","34","35","36"],"import React, { useState, useRef, Suspense } from 'react';\nimport { OrbitControls, useGLTFLoader } from 'drei';\nimport { Canvas, useFrame, useThree } from 'react-three-fiber';\nimport { VRCanvas, DefaultXRControllers } from 'react-xr';\nimport Model from './Model';\nimport DoctorModel from './DoctorModel';\n\nfunction HospitalScene() {\n let width = window.innerWidth;\n let height = window.innerHeigh; \n\n const cameraPosition = useRef([0.38,-0.39,0.18]);\n return (\n <>\n <VRCanvas\n colorManagement\n camera={\n {\n position: cameraPosition.current,\n fov: 52.5,\n aspect: width / height, \n far: 5000,\n }\n }\n >\n <ambientLight intensity = {1}/>\n <Suspense fallback = {null}>\n <mesh visible position = {[0,0,0]}>\n <Model/>\n </mesh>\n <mesh visible position = {[-1,-1.05,0]} scale = {[0.008,0.008,0.008]} rotation={[0, Math.PI /2, 0]}>\n <DoctorModel/>\n </mesh>\n </Suspense>\n <OrbitControls />\n <DefaultXRControllers/>\n </VRCanvas>\n </>\n )\n}\n\nexport default HospitalScene\n","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/components/Model.js",["37"],"import React from 'react';\nimport { OrbitControls, useGLTF } from 'drei';\n\n\nfunction Model() {\n const gltf = useGLTF(\"/assets/scene.gltf\", true);\n return (\n <primitive object ={gltf.scene} dispose = {null} />\n )\n}\n\nexport default Model","/home/laptop/Hackathon 2021/VR Health Hackathon/vr-health-hackathon2021/src/components/DoctorModel.js",["38"],"import React from 'react';\nimport { OrbitControls, useGLTF } from 'drei';\n\n\nfunction DoctorModel() {\n const doctor = useGLTF(\"/doctor_assets/scene.gltf\", true);\n return (\n <primitive object ={doctor.scene} dispose = {null} />\n )\n}\n\nexport default DoctorModel",{"ruleId":"39","replacedBy":"40"},{"ruleId":"41","replacedBy":"42"},{"ruleId":"43","severity":1,"message":"44","line":1,"column":17,"nodeType":"45","messageId":"46","endLine":1,"endColumn":25},{"ruleId":"43","severity":1,"message":"47","line":2,"column":25,"nodeType":"45","messageId":"46","endLine":2,"endColumn":38},{"ruleId":"43","severity":1,"message":"48","line":3,"column":10,"nodeType":"45","messageId":"46","endLine":3,"endColumn":16},{"ruleId":"43","severity":1,"message":"49","line":3,"column":18,"nodeType":"45","messageId":"46","endLine":3,"endColumn":26},{"ruleId":"43","severity":1,"message":"50","line":3,"column":28,"nodeType":"45","messageId":"46","endLine":3,"endColumn":36},{"ruleId":"43","severity":1,"message":"51","line":2,"column":10,"nodeType":"45","messageId":"46","endLine":2,"endColumn":23},{"ruleId":"43","severity":1,"message":"51","line":2,"column":10,"nodeType":"45","messageId":"46","endLine":2,"endColumn":23},"no-native-reassign",["52"],"no-negated-in-lhs",["53"],"no-unused-vars","'useState' is defined but never used.","Identifier","unusedVar","'useGLTFLoader' is defined but never used.","'Canvas' is defined but never used.","'useFrame' is defined but never used.","'useThree' is defined but never used.","'OrbitControls' is defined but never used.","no-global-assign","no-unsafe-negation"]