rapid-render 0.1.13 → 0.1.14

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/dist/light.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Vec2 } from "./math";
2
- import Rapid from "./render";
3
- export declare class LightManager {
4
- render: Rapid;
5
- constructor(render: Rapid);
6
- createLightShadowMaskPolygon(occlusion: Vec2[][], lightSource: Vec2, baseProjectionLength?: number): Vec2[][];
7
- }
1
+ import { Vec2 } from "./math";
2
+ import Rapid from "./render";
3
+ export declare class LightManager {
4
+ render: Rapid;
5
+ constructor(render: Rapid);
6
+ createLightShadowMaskPolygon(occlusion: Vec2[][], lightSource: Vec2, baseProjectionLength?: number): Vec2[][];
7
+ }
package/dist/line.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ILineRenderOptions } from "./interface";
1
+ import { ILineStyleOptions } from "./interface";
2
2
  import { Vec2 } from "./math";
3
3
  /**
4
4
  * @ignore
@@ -10,7 +10,7 @@ export declare const getLineNormal: (points: Vec2[], closed?: boolean) => {
10
10
  }[];
11
11
  length: number;
12
12
  };
13
- export declare const getLineGeometry: (options: ILineRenderOptions) => {
13
+ export declare const getLineGeometry: (options: ILineStyleOptions) => {
14
14
  vertices: Vec2[];
15
15
  uv: Vec2[];
16
16
  };