fix(simulation): standardize streamed rendering and UGV proxies
This commit is contained in:
@@ -100,6 +100,8 @@ test("PlayCanvas owns the realtime scene graph without an iframe or React entity
|
||||
assert.match(runtime, /maximum: \{[^}]*lodRangeMin: 0, lodRangeMax: 5, pixelRatio: 2, splatBudget: 4_000_000, targetFps: 60/);
|
||||
assert.match(runtime, /app\.scene\.gsplat\.splatBudget = profile\.splatBudget/);
|
||||
assert.match(runtime, /app\.autoRender = false/);
|
||||
assert.match(runtime, /app\.systems\.gsplat\?\.on\("frame:request", this\.requestGsplatFrame\)/);
|
||||
assert.match(runtime, /app\.systems\.gsplat\?\.off\("frame:request", this\.requestGsplatFrame\)/);
|
||||
assert.match(runtime, /app\.on\("update", this\.updateFrame\)/);
|
||||
assert.match(runtime, /if \(!cameraChanged && this\.controlMode === "free"\) return/);
|
||||
assert.doesNotMatch(runtime, /app\.on\("frameupdate"/);
|
||||
@@ -162,6 +164,8 @@ test("PlayCanvas owns the realtime scene graph without an iframe or React entity
|
||||
assert.match(ugv, /new this\.ammo\.btRaycastVehicle/);
|
||||
assert.match(ugv, /type: "mesh"/);
|
||||
assert.match(ugv, /MeshoptSimplifier\.simplify/);
|
||||
assert.match(ugv, /MeshoptSimplifier\.simplifySloppy/);
|
||||
assert.match(ugv, /Physics proxy превысил лимит/);
|
||||
assert.match(ugv, /PHYSICS_PROXY_MAX_TRIANGLES = 240_000/);
|
||||
assert.match(ugv, /createPhysicsProxyMesh/);
|
||||
assert.match(ugv, /findSafeSpawnPosition/);
|
||||
|
||||
Reference in New Issue
Block a user