| @@ -8,8 +8,8 @@ import { | |||
| SRGBColorSpace, | |||
| ThreeViewer, | |||
| UnlitMaterial, | |||
| BufferGeometry, | |||
| } from 'threepipe' | |||
| import {BufferGeometry} from 'three' | |||
| async function init() { | |||
| @@ -17,6 +17,7 @@ | |||
| "removeComments": false, | |||
| "preserveConstEnums": true, | |||
| "moduleResolution": "node", | |||
| "skipDefaultLibCheck": true, | |||
| "emitDecoratorMetadata": true, | |||
| "sourceMap": false, | |||
| "paths": { | |||
| @@ -24,6 +25,7 @@ | |||
| "@threepipe/plugins-*": ["../plugins/*/src"], | |||
| "threepipe": ["../src/"] | |||
| }, | |||
| "esModuleInterop": true, | |||
| "target": "ES2020", | |||
| "strictNullChecks": true, | |||
| "lib": [ | |||
| @@ -110,11 +110,11 @@ | |||
| "rollup-plugin-license": "^3.0.1", | |||
| "three": "https://github.com/repalash/three.js-modded/releases/download/v0.157.1007/package.tgz", | |||
| "tslib": "^2.5.0", | |||
| "typedoc": "^0.27.5", | |||
| "typescript": "5.7.2", | |||
| "typedoc": "^0.28.4", | |||
| "typescript": "5.8.3", | |||
| "typescript-plugin-css-modules": "^5.0.1", | |||
| "vite": "^6.0.5", | |||
| "vite-plugin-dts": "^4.4.0", | |||
| "vite": "^6.3.5", | |||
| "vite-plugin-dts": "^4.5.3", | |||
| "vitepress": "^1.5.0", | |||
| "vitepress-plugin-nprogress": "^0.0.4" | |||
| }, | |||
| @@ -9,27 +9,47 @@ | |||
| "version": "0.1.0", | |||
| "license": "Apache-2.0", | |||
| "dependencies": { | |||
| "three": "file:./../../src/", | |||
| "three": "file:./../../node_modules/three", | |||
| "threepipe": "file:./../../src/" | |||
| }, | |||
| "devDependencies": { | |||
| "3d-tiles-renderer": "^0.4.8" | |||
| } | |||
| }, | |||
| "../../src": {}, | |||
| "../tweakpane/src": { | |||
| "extraneous": true | |||
| "../../node_modules/three": { | |||
| "version": "0.157.1007", | |||
| "license": "MIT", | |||
| "devDependencies": { | |||
| "@puppeteer/browsers": "^1.4.1", | |||
| "@rollup/plugin-node-resolve": "^15.0.1", | |||
| "@rollup/plugin-terser": "^0.4.0", | |||
| "chalk": "^5.2.0", | |||
| "concurrently": "^8.0.1", | |||
| "eslint": "^8.37.0", | |||
| "eslint-config-mdcs": "^5.0.0", | |||
| "eslint-plugin-compat": "^4.1.2", | |||
| "eslint-plugin-html": "^7.1.0", | |||
| "eslint-plugin-import": "^2.27.5", | |||
| "failonlyreporter": "^1.0.0", | |||
| "jimp": "^0.22.7", | |||
| "magic-string": "^0.30.0", | |||
| "pixelmatch": "^5.3.0", | |||
| "puppeteer-core": "^19.8.1", | |||
| "qunit": "^2.19.4", | |||
| "rollup": "^3.20.2", | |||
| "rollup-plugin-filesize": "^10.0.0", | |||
| "rollup-plugin-visualizer": "^5.9.0", | |||
| "servez": "^2.0.0" | |||
| } | |||
| }, | |||
| "../../src": {}, | |||
| "node_modules/@babel/runtime": { | |||
| "version": "7.27.0", | |||
| "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz", | |||
| "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==", | |||
| "version": "7.27.1", | |||
| "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.1.tgz", | |||
| "integrity": "sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==", | |||
| "dev": true, | |||
| "license": "MIT", | |||
| "optional": true, | |||
| "dependencies": { | |||
| "regenerator-runtime": "^0.14.0" | |||
| }, | |||
| "engines": { | |||
| "node": ">=6.9.0" | |||
| } | |||
| @@ -341,14 +361,6 @@ | |||
| } | |||
| } | |||
| }, | |||
| "node_modules/regenerator-runtime": { | |||
| "version": "0.14.1", | |||
| "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", | |||
| "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", | |||
| "dev": true, | |||
| "license": "MIT", | |||
| "optional": true | |||
| }, | |||
| "node_modules/scheduler": { | |||
| "version": "0.23.2", | |||
| "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", | |||
| @@ -372,7 +384,7 @@ | |||
| } | |||
| }, | |||
| "node_modules/three": { | |||
| "resolved": "../../src", | |||
| "resolved": "../../node_modules/three", | |||
| "link": true | |||
| }, | |||
| "node_modules/threepipe": { | |||
| @@ -6,7 +6,7 @@ | |||
| "3d-tiles-renderer": "^0.4.8" | |||
| }, | |||
| "dependencies": { | |||
| "three": "file:./../../src/", | |||
| "three": "file:./../../node_modules/three", | |||
| "threepipe": "file:./../../src/" | |||
| }, | |||
| "overrides": { | |||
| @@ -2,6 +2,7 @@ import { | |||
| ColorSpace, | |||
| DepthFormat, | |||
| DepthStencilFormat, | |||
| DepthTexture, | |||
| FloatType, | |||
| MagnificationTextureFilter, | |||
| MinificationTextureFilter, | |||
| @@ -11,10 +12,9 @@ import { | |||
| UnsignedInt248Type, | |||
| UnsignedIntType, | |||
| UnsignedShortType, | |||
| Vector4, | |||
| Wrapping, | |||
| } from 'three' | |||
| import {Vector4} from 'three/src/math/Vector4' | |||
| import {DepthTexture} from 'three/src/textures/DepthTexture' | |||
| import type {IRenderManager, IWebGLRenderer} from '../core' | |||
| import {ValOrArr} from 'ts-browser-helpers' | |||
| @@ -1,8 +1,15 @@ | |||
| import {Camera, Color, Object3D, OrthographicCamera, PerspectiveCamera, Vector3} from 'three' | |||
| import { | |||
| Camera, | |||
| Color, | |||
| InterleavedBufferAttribute, | |||
| Object3D, | |||
| OrthographicCamera, | |||
| PerspectiveCamera, | |||
| Vector3, | |||
| } from 'three' | |||
| import {ACameraHelperWidget} from './ACameraHelperWidget' | |||
| import {LineSegments2} from 'three/examples/jsm/lines/LineSegments2.js' | |||
| import {LineSegmentsGeometry} from 'three/examples/jsm/lines/LineSegmentsGeometry.js' | |||
| import {InterleavedBufferAttribute} from 'three/src/core/InterleavedBufferAttribute' | |||
| import {LineMaterial2} from '../../core' | |||
| /** | |||