移除webpack,替换为vite,删除弃用文件
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Font, FontLoader, Matrix4, Mesh, Shape, ShapeGeometry, Vector3 } from "three";
|
||||
import f from "../resources/fonts/helvetiker_regular.typeface.json";
|
||||
import { ColorMaterial } from "./ColorPalette";
|
||||
import { MoveMatrix } from "./GeUtils";
|
||||
import { XAxis, XAxisN, YAxis, YAxisN, ZAxisN } from "./Utils";
|
||||
@@ -10,7 +11,6 @@ class FontLoaderUtil
|
||||
{
|
||||
if (!this.defFont)
|
||||
{
|
||||
const f = require("../resources/fonts/helvetiker_regular.typeface.json");
|
||||
let loader = new FontLoader();
|
||||
this.defFont = loader.parse(f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user