@aibee/crc-bmap 0.0.127 → 0.0.129
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/lib/bmap.cjs.min.js +7 -7
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +116 -85
- package/lib/bmap.esm.js.map +3 -3
- package/lib/bmap.esm.min.js +6 -6
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +7 -7
- package/lib/bmap.min.js.map +3 -3
- package/lib/src/elements/glb-model.d.ts +2 -0
- package/lib/src/elements/ground-texture.d.ts +2 -3
- package/lib/src/elements/lane.d.ts +2 -0
- package/lib/src/factory/texture.d.ts +1 -1
- package/lib/src/loader/AibeeLoader/type.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5,7 +5,6 @@ export interface GroundTextureOptions {
|
|
|
5
5
|
uuid: string;
|
|
6
6
|
iconUrl: string;
|
|
7
7
|
name: string;
|
|
8
|
-
secondRotate: number;
|
|
9
8
|
deltaHeight: number;
|
|
10
9
|
airHeight: number;
|
|
11
10
|
height: number;
|
|
@@ -17,9 +16,9 @@ export declare const defaultOptions: GroundTextureOptions;
|
|
|
17
16
|
export type GroundTextureOptionsParam = Partial<GroundTextureOptions>;
|
|
18
17
|
export declare class GroundTexture extends Object3D {
|
|
19
18
|
private context;
|
|
20
|
-
options: GroundTextureOptions;
|
|
19
|
+
options: GroundTextureOptions[];
|
|
21
20
|
mesh?: Mesh;
|
|
22
|
-
constructor(context: Context, options: GroundTextureOptionsParam);
|
|
21
|
+
constructor(context: Context, options: GroundTextureOptionsParam[]);
|
|
23
22
|
init(): Promise<void>;
|
|
24
23
|
dispose(): void;
|
|
25
24
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PolygonGeometry } from "../types";
|
|
2
2
|
import { Context } from "../context";
|
|
3
3
|
import { BufferGeometry, LineBasicMaterial, LineSegments, Mesh, MeshBasicMaterial, Object3D, Vector3 } from "three";
|
|
4
|
+
import { Line2 } from 'three/examples/jsm/lines/Line2';
|
|
4
5
|
export interface LaneOptions {
|
|
5
6
|
id: string;
|
|
6
7
|
airHeight: number;
|
|
@@ -25,6 +26,7 @@ export declare class Lane extends Object3D {
|
|
|
25
26
|
lineGeometry?: BufferGeometry;
|
|
26
27
|
Mesh?: Mesh;
|
|
27
28
|
LineMesh?: LineSegments;
|
|
29
|
+
doubleLines: Line2[];
|
|
28
30
|
constructor(context: Context, options: LaneOptions[]);
|
|
29
31
|
initGeometry(): void;
|
|
30
32
|
initMaterial(): MeshBasicMaterial;
|
|
@@ -2,7 +2,7 @@ import { Texture, TextureLoader } from "three";
|
|
|
2
2
|
import { Context } from "../context";
|
|
3
3
|
export declare class TextureFactory {
|
|
4
4
|
private context;
|
|
5
|
-
textureMap: Map<string, Texture
|
|
5
|
+
textureMap: Map<string, Texture | Promise<Texture>>;
|
|
6
6
|
loader: TextureLoader;
|
|
7
7
|
constructor(context: Context);
|
|
8
8
|
getTexture(url: string): Promise<Texture>;
|