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