修复类型错误
This commit is contained in:
parent
d266b5ac2d
commit
23fa547a3a
@ -30,7 +30,7 @@ export class DbText extends Mesh
|
||||
{
|
||||
let font = FontLoaderUtil.Load();
|
||||
|
||||
let shapes: THREE.Shape[] = font.generateShapes(str, height);
|
||||
let shapes: Shape[] = font.generateShapes(str, height);
|
||||
let geometry = new ShapeGeometry(shapes);
|
||||
|
||||
geometry.computeBoundingBox();
|
||||
|
Loading…
Reference in New Issue
Block a user