Skip to content

Commit

Permalink
Merge pull request #23 from galacean/feat/2d-case
Browse files Browse the repository at this point in the history
Feat/2d case
singlecoder authored May 23, 2024
2 parents 217c16c + f7c8913 commit 3d050a5
Showing 3 changed files with 30 additions and 8 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babylonjs/core": "^7.6.0",
"@babylonjs/gui": "^7.8.0",
"@babylonjs/havok": "^1.3.4",
"@babylonjs/loaders": "^7.6.0",
"@galacean/engine": "^1.2.0-beta.5",
@@ -14,8 +15,6 @@
"@galacean/engine-toolkit": "^1.2.0-beta",
"@types/three": "^0.164.0",
"babylonjs": "^7.6.0",
"babylonjs-gui": "^7.8.0",
"babylonjs-loaders": "^7.8.0",
"dat.gui": "^0.7.9",
"stats.js": "^0.17.0",
"three": "^0.164.1",
33 changes: 28 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/babylon/text-benchmark.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
*/

import { Vector3, Engine, Scene, UniversalCamera } from "@babylonjs/core";
import { AdvancedDynamicTexture, TextBlock } from "babylonjs-gui";
import { AdvancedDynamicTexture, TextBlock } from "@babylonjs/gui";

// 创建画布元素
const canvas = document.getElementById("canvas") as HTMLCanvasElement;

0 comments on commit 3d050a5

Please sign in to comment.