@threepipe/plugin-blend-importer 0.0.7 → 0.0.8

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.
@@ -1,4 +1,4 @@
1
1
  import { Object3D } from 'threepipe';
2
2
  import { Ctx } from './ctx';
3
- export declare function createObjects(file: any, ctx: Ctx): Promise<Object3D<import('threepipe').Object3DEventMap>[]>;
3
+ export declare function createObjects(file: any, ctx: Ctx): Promise<Object3D<import('three').Object3DEventMap>[]>;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/loader/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,QAAQ,EAAC,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAA;AAYzB,wBAAsB,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,6DAgEtD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/loader/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+B,QAAQ,EAAsB,MAAM,WAAW,CAAA;AACrF,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAA;AAUzB,wBAAsB,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,yDAgEtD"}
@@ -1,4 +1,4 @@
1
1
  import { Light } from 'threepipe';
2
2
  import { Ctx } from './ctx';
3
- export declare function createLight(lamp: any, ctx: Ctx): Light<import('three').LightShadow<import('threepipe').Camera<import('threepipe').Object3DEventMap>> | undefined, import('threepipe').Object3DEventMap> | undefined;
3
+ export declare function createLight(lamp: any, ctx: Ctx): Light<import('three').LightShadow<import('three').Camera<import('three').Object3DEventMap>> | undefined, import('three').Object3DEventMap> | undefined;
4
4
  //# sourceMappingURL=light.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/loader/light.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAA;AAUzB,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,sKAmC9C"}
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/loader/light.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAA;AAUzB,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,0JAmC9C"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@threepipe/plugin-blend-importer",
3
3
  "description": "Basic importer for .blend file",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "dependencies": {},
6
6
  "exports": {
7
7
  ".": {
@@ -42,6 +42,6 @@
42
42
  "directory": "plugins/blend-importer"
43
43
  },
44
44
  "peerDependencies": {
45
- "threepipe": "^0.0.54"
45
+ "threepipe": "^0.0.57"
46
46
  }
47
47
  }
@@ -1,10 +1,8 @@
1
1
  import {createCamera} from './camera'
2
2
  import {createLight} from './light'
3
3
  import {createMesh} from './mesh'
4
- import {IObject3D, Object3D} from 'threepipe'
4
+ import {Euler, EulerOrder, IObject3D, Object3D, Quaternion, Vector3} from 'threepipe'
5
5
  import {Ctx} from './ctx'
6
- import {Euler, EulerOrder} from 'three/src/math/Euler'
7
- import {Quaternion, Vector3} from 'three'
8
6
 
9
7
  // https://github.com/blender/blender/blob/99a4c93081cc2310a09a14f20a1493e8974c10d2/source/blender/makesdna/DNA_object_types.h#L445
10
8
  const blenderObjectTypes = {