mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Keep traffic vehicles and road flow across globe switches
This commit is contained in:
1 parent
4e09559337
commit
75df3389f3
20 files changed
+586
-109
No files matched your search
@@ -4,9 +4,9 @@ import * as ground from '../../data/groundFloor.js';
|
||||
import * as render from '../../renderGovernor.js';
|
||||
|
||||
/** Construct one layer using the application scene owners and a supplied source. */
|
||||
export function createApplicationTraffic({ source, surface }) {
|
||||
export function createApplicationTraffic({ source, surface, nativeRenderer }) {
|
||||
return createTrafficLayer({
|
||||
source,
|
||||
services: { credits, render, ground: surface?.groundFloor || ground },
|
||||
services: { credits, render, nativeRenderer, ground: surface?.groundFloor || ground },
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user