Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: doc describe error (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
cptbtptpbcptdtptp authored Apr 15, 2024
1 parent 8059273 commit ab7b109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/multi-scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function initFirstScene(engine: Engine): Scene {
lightEntity.addComponent(DirectLight);

// Create sphere
const entity = rootEntity.createChild("cube");
const entity = rootEntity.createChild("sphere");
entity.transform.setPosition(-3, 0, 3);
const renderer = entity.addComponent(MeshRenderer);
renderer.mesh = PrimitiveMesh.createSphere(engine, 2, 24);
Expand Down

0 comments on commit ab7b109

Please sign in to comment.