Skip to content

Commit

Permalink
Remove couple of unneeded lines from gsplat-many example
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Valigursky committed Oct 22, 2024
1 parent 9a7d4bc commit eeb0c1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/src/examples/loaders/gsplat-many.example.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eeb0c1b

Please sign in to comment.