Skip to content

Commit

Permalink
Remove couple of unneeded lines from gsplat-many example (#7055)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
  • Loading branch information
mvaligursky and Martin Valigursky authored Oct 23, 2024
1 parent 9a7d4bc commit 70e990b
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 70e990b

Please sign in to comment.