auto-git:
[change] src/runtime-three/runtime-host.ts
This commit is contained in:
@@ -2762,11 +2762,11 @@ export class RuntimeHost {
|
|||||||
|
|
||||||
private collectRuntimeStaticWaterContactPatches(
|
private collectRuntimeStaticWaterContactPatches(
|
||||||
brush: RuntimeBoxBrushInstance
|
brush: RuntimeBoxBrushInstance
|
||||||
) {
|
): ReturnType<typeof collectWaterContactPatches> {
|
||||||
const contactBounds: Parameters<typeof collectWaterContactPatches>[1] = [];
|
const contactBounds: Parameters<typeof collectWaterContactPatches>[1] = [];
|
||||||
|
|
||||||
if (this.runtimeScene === null) {
|
if (this.runtimeScene === null) {
|
||||||
return contactBounds;
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const collider of this.runtimeScene.colliders) {
|
for (const collider of this.runtimeScene.colliders) {
|
||||||
|
|||||||
Reference in New Issue
Block a user