From 70e990bb21fcb0b9096320f52b1d8cf3dbce4795 Mon Sep 17 00:00:00 2001 From: Martin Valigursky <59932779+mvaligursky@users.noreply.github.com> Date: Wed, 23 Oct 2024 09:50:44 +0100 Subject: [PATCH] Remove couple of unneeded lines from gsplat-many example (#7055) Co-authored-by: Martin Valigursky --- examples/src/examples/loaders/gsplat-many.example.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/src/examples/loaders/gsplat-many.example.mjs b/examples/src/examples/loaders/gsplat-many.example.mjs index c770f2d449f..eb2dd5e5eb9 100644 --- a/examples/src/examples/loaders/gsplat-many.example.mjs +++ b/examples/src/examples/loaders/gsplat-many.example.mjs @@ -84,9 +84,7 @@ assetListLoader.load(() => { const createSplatInstance = (name, asset, px, py, pz, scale, vertex, fragment) => { const entity = new pc.Entity(name); entity.addComponent('gsplat', { - asset: asset, - fragment: fragment, - vertex: vertex + asset: asset }); entity.setLocalPosition(px, py, pz); entity.setLocalEulerAngles(180, 90, 0);