Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test babylon mesh lod 2 #13234

Merged
merged 14 commits into from
Nov 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
(test) Mesh.removeLODLevel. Remove the unnecessary camera from test code
  • Loading branch information
Dok11 committed Nov 13, 2022
commit 0498d5c73349d6a0473708c87f088c72944bc524
4 changes: 0 additions & 4 deletions packages/dev/core/test/unit/Meshes/babylon.mesh.lod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ describe("Babylon Mesh Levels of Details", () => {
describe("removeLODLevel", () => {
let scene: Scene;
let cameraArc: ArcRotateCamera;
let cameraOrthographic: ArcRotateCamera;

let knot0: Mesh;
let knot1: Mesh;
Expand All @@ -291,9 +290,6 @@ describe("Babylon Mesh Levels of Details", () => {

cameraArc = new ArcRotateCamera("Camera", 0, 0, 5, new Vector3(0, 0, 0), scene);

cameraOrthographic = new ArcRotateCamera("Camera", 0, 0, 5, new Vector3(0, 0, 0), scene);
cameraOrthographic.mode = Camera.ORTHOGRAPHIC_CAMERA;

knot0 = MeshBuilder.CreateTorusKnot(
"Knot0",
{
Expand Down