移除webpack,替换为vite,删除弃用文件

This commit is contained in:
xief
2023-08-07 14:42:26 +08:00
parent f60054ca19
commit ab59fbe267
80 changed files with 434 additions and 7920 deletions

View File

@@ -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);
}