Skip to content

Commit 6baccc6

Browse files
mvaligurskyMartin Valigursky
andauthored
Forward renderer - cleanup, separated static-meshes functionality (#3472)
* var to let & const * moved static meshes code to separate file * removed obsolete call * change to forward renderer constructor, added missing members * removed the change where forward renderer accepts scene in a constructor * removed parameter Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
1 parent 24821b4 commit 6baccc6

File tree

3 files changed

+549
-557
lines changed

3 files changed

+549
-557
lines changed

src/framework/application.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,10 +1658,6 @@ class Application extends EventHandler {
16581658
}
16591659

16601660
_firstBatch() {
1661-
if (this.scene._needsStaticPrepare) {
1662-
this.renderer.prepareStaticMeshes(this.graphicsDevice, this.scene);
1663-
this.scene._needsStaticPrepare = false;
1664-
}
16651661
this.batcher.generate();
16661662
}
16671663

0 commit comments

Comments
 (0)