three-stdlib 2.23.14 → 2.23.15
Sign up to get free protection for your applications and to get access to all the features.
- package/loaders/SVGLoader.d.ts +3 -3
- package/package.json +1 -1
package/loaders/SVGLoader.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Loader, LoadingManager, ShapePath, BufferGeometry,
|
1
|
+
import { Loader, LoadingManager, ShapePath, BufferGeometry, Vector2, Shape } from 'three'
|
2
2
|
|
3
3
|
export interface SVGResultPaths extends ShapePath {
|
4
4
|
userData?:
|
@@ -44,13 +44,13 @@ export class SVGLoader extends Loader {
|
|
44
44
|
miterLimit?: number,
|
45
45
|
): StrokeStyle
|
46
46
|
static pointsToStroke(
|
47
|
-
points:
|
47
|
+
points: Vector2[],
|
48
48
|
style: StrokeStyle,
|
49
49
|
arcDivisions?: number,
|
50
50
|
minDistance?: number,
|
51
51
|
): BufferGeometry
|
52
52
|
static pointsToStrokeWithBuffers(
|
53
|
-
points:
|
53
|
+
points: Vector2[],
|
54
54
|
style: StrokeStyle,
|
55
55
|
arcDivisions?: number,
|
56
56
|
minDistance?: number,
|