@tresjs/cientos 3.3.0 → 3.4.1

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.
@@ -0,0 +1,5 @@
1
+ export declare function linear(x: number): number;
2
+ export declare function easeInCubic(x: number): number;
3
+ export declare function easeInOutCubic(x: number): number;
4
+ export declare function easeInQuart(x: number): number;
5
+ export declare function easeOutBounce(x: number): number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tresjs/cientos",
3
3
  "type": "module",
4
- "version": "3.3.0",
4
+ "version": "3.4.1",
5
5
  "packageManager": "pnpm@8.4.0",
6
6
  "description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
7
7
  "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
@@ -53,8 +53,9 @@
53
53
  "dependencies": {
54
54
  "@vueuse/core": "^10.3.0",
55
55
  "camera-controls": "^2.7.1",
56
+ "stats-gl": "^1.0.5",
56
57
  "stats.js": "^0.17.0",
57
- "three-stdlib": "^2.25.0"
58
+ "three-stdlib": "2.25.0"
58
59
  },
59
60
  "devDependencies": {
60
61
  "@release-it/conventional-changelog": "^7.0.0",
@@ -1,47 +0,0 @@
1
- import type { TextureEncoding } from 'three';
2
- export interface EnvironmentOptions {
3
- /**
4
- * If true, the environment will be set as the scene's background.
5
- *
6
- * @type {boolean}
7
- * @default false
8
- */
9
- background?: boolean;
10
- /**
11
- * The blur radius of the environment.
12
- *
13
- * @type {number}
14
- * @default 0
15
- */
16
- blur?: number;
17
- /**
18
- * The files to load. If a string is provided, it will be loaded as an equirectangular texture.
19
- * If an array is provided, it will be loaded as a cube texture.
20
- *
21
- * @type {(string | string[])}
22
- */
23
- files?: string | string[];
24
- /**
25
- * The path to the files.
26
- *
27
- * @type {string}
28
- * @default '/'
29
- */
30
- path?: string;
31
- /**
32
- * The preset to use. If provided, the files and path props will be ignored.
33
- *
34
- * @type {EnvironmentPresetsType}
35
- */
36
- preset?: EnvironmentPresetsType;
37
- /**
38
- * The encoding of the environment.
39
- *
40
- * @type {TextureEncoding}
41
- */
42
- encoding?: TextureEncoding;
43
- }
44
- export declare const environmentPresets: {
45
- sunset: string;
46
- };
47
- export type EnvironmentPresetsType = keyof typeof environmentPresets;