@tresjs/cientos 2.0.0-rc.1 → 2.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/core/abstractions/index.d.ts +10 -0
- package/dist/core/controls/index.d.ts +5 -0
- package/dist/core/loaders/index.d.ts +5 -0
- package/dist/core/loaders/useFBX/component.vue.d.ts +25 -0
- package/dist/core/loaders/useGLTF/component.vue.d.ts +70 -0
- package/dist/core/materials/index.d.ts +2 -0
- package/dist/core/misc/index.d.ts +2 -0
- package/dist/core/shapes/index.d.ts +14 -0
- package/dist/index.d.ts +6 -33
- package/dist/trescientos.js +3079 -3057
- package/dist/trescientos.umd.cjs +9 -9
- package/package.json +2 -2
- package/dist/core/useFBX/component.d.ts +0 -11
- package/dist/core/useGLTF/component.d.ts +0 -33
- package/dist/core/{Levioso.vue.d.ts → abstractions/Levioso.vue.d.ts} +0 -0
- package/dist/core/{Smoke.vue.d.ts → abstractions/Smoke.vue.d.ts} +0 -0
- package/dist/core/{Stars.vue.d.ts → abstractions/Stars.vue.d.ts} +1 -1
- /package/dist/core/{Text3D.vue.d.ts → abstractions/Text3D.vue.d.ts} +0 -0
- /package/dist/core/{useAnimations.d.ts → abstractions/useAnimations.d.ts} +0 -0
- /package/dist/core/{useEnvironment → abstractions/useEnvironment}/component.d.ts +0 -0
- /package/dist/core/{useEnvironment → abstractions/useEnvironment}/const.d.ts +0 -0
- /package/dist/core/{useEnvironment → abstractions/useEnvironment}/index.d.ts +0 -0
- /package/dist/core/{usePamCameraMouse → abstractions/usePamCameraMouse}/component.d.ts +0 -0
- /package/dist/core/{usePamCameraMouse → abstractions/usePamCameraMouse}/index.d.ts +0 -0
- /package/dist/core/{useFBX → loaders/useFBX}/index.d.ts +0 -0
- /package/dist/core/{useGLTF → loaders/useGLTF}/index.d.ts +0 -0
- /package/dist/core/{meshWobbleMaterial → materials/meshWobbleMaterial}/index.vue.d.ts +0 -0
- /package/dist/core/{meshWobbleMaterial → materials/meshWobbleMaterial}/material.d.ts +0 -0
- /package/dist/core/{useTweakPane → misc/useTweakPane}/index.d.ts +0 -0
- /package/dist/core/{Box.vue.d.ts → shapes/Box.vue.d.ts} +0 -0
- /package/dist/core/{Circle.vue.d.ts → shapes/Circle.vue.d.ts} +0 -0
- /package/dist/core/{Cone.vue.d.ts → shapes/Cone.vue.d.ts} +0 -0
- /package/dist/core/{Dodecahedron.vue.d.ts → shapes/Dodecahedron.vue.d.ts} +0 -0
- /package/dist/core/{Icosahedron.vue.d.ts → shapes/Icosahedron.vue.d.ts} +0 -0
- /package/dist/core/{Octahedron.vue.d.ts → shapes/Octahedron.vue.d.ts} +0 -0
- /package/dist/core/{Plane.vue.d.ts → shapes/Plane.vue.d.ts} +0 -0
- /package/dist/core/{Ring.vue.d.ts → shapes/Ring.vue.d.ts} +0 -0
- /package/dist/core/{Sphere.vue.d.ts → shapes/Sphere.vue.d.ts} +0 -0
- /package/dist/core/{Tetrahedron.vue.d.ts → shapes/Tetrahedron.vue.d.ts} +0 -0
- /package/dist/core/{Torus.vue.d.ts → shapes/Torus.vue.d.ts} +0 -0
- /package/dist/core/{TorusKnot.vue.d.ts → shapes/TorusKnot.vue.d.ts} +0 -0
- /package/dist/core/{Tube.vue.d.ts → shapes/Tube.vue.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/cientos",
|
|
3
3
|
"description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
|
|
4
|
-
"version": "2.0.0-rc.
|
|
4
|
+
"version": "2.0.0-rc.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@8.3.1",
|
|
7
7
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@alvarosabu/prettier-config": "^1.3.0",
|
|
51
51
|
"@release-it/conventional-changelog": "^5.1.1",
|
|
52
52
|
"@tweakpane/plugin-essentials": "^0.1.8",
|
|
53
|
-
"@types/three": "^0.
|
|
53
|
+
"@types/three": "^0.152.0",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
55
55
|
"@typescript-eslint/parser": "^5.59.2",
|
|
56
56
|
"@vitejs/plugin-vue": "^4.2.1",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface FBXModelProps {
|
|
2
|
-
/**
|
|
3
|
-
* Path to the FBX file.
|
|
4
|
-
*
|
|
5
|
-
* @type {string}
|
|
6
|
-
* @memberof FBXModelProps
|
|
7
|
-
* @required
|
|
8
|
-
*/
|
|
9
|
-
path: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const FBXModel: import("vue").DefineComponent<FBXModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<FBXModelProps>, {}>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface GLTFModelProps {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* The path to the GLTF file.
|
|
5
|
-
*
|
|
6
|
-
* @type {string}
|
|
7
|
-
* @required
|
|
8
|
-
* @memberof GLTFModelProps
|
|
9
|
-
*
|
|
10
|
-
**/
|
|
11
|
-
path: string;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* Whether to use Draco compression.
|
|
15
|
-
*
|
|
16
|
-
* @type {boolean}
|
|
17
|
-
* @default false
|
|
18
|
-
* @memberof GLTFModelProps
|
|
19
|
-
*
|
|
20
|
-
**/
|
|
21
|
-
draco?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* The path to the Draco decoder.
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @default 'https://www.gstatic.com/draco/versioned/decoders/1.4.1/'
|
|
28
|
-
* @memberof GLTFModelProps
|
|
29
|
-
*
|
|
30
|
-
**/
|
|
31
|
-
decoderPath?: string;
|
|
32
|
-
}
|
|
33
|
-
export declare const GLTFModel: import("vue").DefineComponent<GLTFModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<GLTFModelProps>, {}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -169,13 +169,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
169
169
|
};
|
|
170
170
|
}>>, {
|
|
171
171
|
size: number | undefined;
|
|
172
|
+
factor: 4 | undefined;
|
|
172
173
|
sizeAttenuation: boolean | undefined;
|
|
173
174
|
transparent: boolean | undefined;
|
|
174
175
|
alphaTest: number | undefined;
|
|
175
176
|
count: 5000 | undefined;
|
|
176
177
|
depth: 50 | undefined;
|
|
177
178
|
radius: 100 | undefined;
|
|
178
|
-
factor: 4 | undefined;
|
|
179
179
|
alphaMap: null | undefined;
|
|
180
180
|
}>;
|
|
181
181
|
export default _sfc_main;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|