rapid-render 1.0.4 → 1.0.6

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/draw.d.ts CHANGED
@@ -14,20 +14,6 @@ export interface IDrawOptions extends ITransformOptions {
14
14
  shader?: DrawShader;
15
15
  customMatrix?: number;
16
16
  }
17
- export interface IDrawParticleOptions {
18
- shader?: DrawShader;
19
- texture: Texture;
20
- color?: Color;
21
- flipX?: boolean;
22
- flipY?: boolean;
23
- x?: number;
24
- y?: number;
25
- position?: Vec2;
26
- rotation?: number;
27
- scaleX?: number;
28
- scaleY?: number;
29
- isRotated?: boolean;
30
- }
31
17
  export interface IDrawParticleBatchOptions {
32
18
  shader?: DrawShader;
33
19
  texture: Texture;
@@ -38,6 +24,8 @@ export interface IDrawParticleBatchOptions {
38
24
  count?: number;
39
25
  scaleX?: number;
40
26
  scaleY?: number;
27
+ originX?: number;
28
+ originY?: number;
41
29
  flipX?: boolean;
42
30
  flipY?: boolean;
43
31
  isRotated?: boolean;
@@ -74,7 +62,6 @@ export interface ICircleOptions extends IDrawOptions {
74
62
  }
75
63
  export declare const drawSpriteRaw: (rapid: Rapid, options: ISpriteOptions) => void;
76
64
  export declare const drawSprite: (rapid: Rapid, options: ISpriteOptions) => void;
77
- export declare const drawParticle: (rapid: Rapid, options: IDrawParticleOptions) => void;
78
65
  export declare const drawParticles: (rapid: Rapid, options: IDrawParticleBatchOptions) => void;
79
66
  export declare const drawGraphic: (rapid: Rapid, options: IGraphicOptions) => void;
80
67
  export declare const drawLine: (rapid: Rapid, options: ILineOptions) => void;