├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml └── workflows │ ├── actions │ └── pnpm │ │ └── action.yml │ ├── lint-pr.yml │ └── lint.yml ├── .gitignore ├── .husky ├── install.mjs └── pre-push ├── .npmrc ├── .release-it.json ├── .vscode └── extensions.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── eslint.config.js ├── netlify.toml ├── package.json ├── playground ├── .eslintrc-auto-import.json ├── .gitignore ├── .vscode │ └── extensions.json ├── README.md ├── auto-imports.d.ts ├── components.d.ts ├── index.html ├── package.json ├── public │ ├── favicon.svg │ ├── logo.svg │ └── vite.svg ├── src │ ├── App.vue │ ├── assets │ │ └── vue.svg │ ├── main.ts │ ├── pages │ │ ├── basics │ │ │ ├── RigidBodyDemo.vue │ │ │ └── XR.vue │ │ └── index.vue │ ├── router │ │ ├── index.ts │ │ └── routes │ │ │ ├── basics.ts │ │ │ └── index.ts │ ├── style.css │ └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── public ├── favicon.svg ├── logo.svg ├── repo-banner.png └── vite.svg ├── renovate.json ├── src ├── classes │ └── XRController.ts ├── components │ ├── ARButton.vue │ ├── InteractionManager.vue │ ├── VRButton.vue │ ├── XR.vue │ ├── XRButton.vue │ ├── XRManager.vue │ ├── buttonStyles.ts │ └── index.ts ├── composables │ ├── useHelpers.ts │ ├── useXR.ts │ └── useXRContext.ts ├── core │ ├── index.ts │ └── injectionKeys.ts ├── index.ts ├── stores │ └── globalSession.ts ├── types │ ├── context.ts │ ├── interaction.ts │ └── xr.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/workflows/actions/pnpm/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.github/workflows/actions/pnpm/action.yml -------------------------------------------------------------------------------- /.github/workflows/lint-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.github/workflows/lint-pr.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/install.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.husky/install.mjs -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | shamefully-hoist=true -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.release-it.json -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/eslint.config.js -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/package.json -------------------------------------------------------------------------------- /playground/.eslintrc-auto-import.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/.eslintrc-auto-import.json -------------------------------------------------------------------------------- /playground/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/.gitignore -------------------------------------------------------------------------------- /playground/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/.vscode/extensions.json -------------------------------------------------------------------------------- /playground/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/README.md -------------------------------------------------------------------------------- /playground/auto-imports.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/auto-imports.d.ts -------------------------------------------------------------------------------- /playground/components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/components.d.ts -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/public/favicon.svg -------------------------------------------------------------------------------- /playground/public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/public/logo.svg -------------------------------------------------------------------------------- /playground/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/public/vite.svg -------------------------------------------------------------------------------- /playground/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/App.vue -------------------------------------------------------------------------------- /playground/src/assets/vue.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/assets/vue.svg -------------------------------------------------------------------------------- /playground/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/main.ts -------------------------------------------------------------------------------- /playground/src/pages/basics/RigidBodyDemo.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/pages/basics/RigidBodyDemo.vue -------------------------------------------------------------------------------- /playground/src/pages/basics/XR.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/pages/basics/XR.vue -------------------------------------------------------------------------------- /playground/src/pages/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/pages/index.vue -------------------------------------------------------------------------------- /playground/src/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/router/index.ts -------------------------------------------------------------------------------- /playground/src/router/routes/basics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/router/routes/basics.ts -------------------------------------------------------------------------------- /playground/src/router/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/router/routes/index.ts -------------------------------------------------------------------------------- /playground/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/src/style.css -------------------------------------------------------------------------------- /playground/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/tsconfig.json -------------------------------------------------------------------------------- /playground/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/tsconfig.node.json -------------------------------------------------------------------------------- /playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/playground/vite.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/repo-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/public/repo-banner.png -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/public/vite.svg -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/renovate.json -------------------------------------------------------------------------------- /src/classes/XRController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/classes/XRController.ts -------------------------------------------------------------------------------- /src/components/ARButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/ARButton.vue -------------------------------------------------------------------------------- /src/components/InteractionManager.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/InteractionManager.vue -------------------------------------------------------------------------------- /src/components/VRButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/VRButton.vue -------------------------------------------------------------------------------- /src/components/XR.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/XR.vue -------------------------------------------------------------------------------- /src/components/XRButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/XRButton.vue -------------------------------------------------------------------------------- /src/components/XRManager.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/XRManager.vue -------------------------------------------------------------------------------- /src/components/buttonStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/buttonStyles.ts -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/composables/useHelpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/composables/useHelpers.ts -------------------------------------------------------------------------------- /src/composables/useXR.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/composables/useXR.ts -------------------------------------------------------------------------------- /src/composables/useXRContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/composables/useXRContext.ts -------------------------------------------------------------------------------- /src/core/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/core/injectionKeys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/core/injectionKeys.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components' 2 | -------------------------------------------------------------------------------- /src/stores/globalSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/stores/globalSession.ts -------------------------------------------------------------------------------- /src/types/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/types/context.ts -------------------------------------------------------------------------------- /src/types/interaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/types/interaction.ts -------------------------------------------------------------------------------- /src/types/xr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/src/types/xr.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tresjs/XR/HEAD/vite.config.ts --------------------------------------------------------------------------------