Skip to content

Commit b0138c6

Browse files
committed
Merge branch 'codex/fix-typo--ray.bodymergingthis--to--ray.bodymergingobj'
2 parents 88f4b13 + dbb5497 commit b0138c6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/sceneObjs/glass/CustomGlass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class CustomGlass extends LineObjMixin(BaseGlass) {
258258
};
259259
}
260260

261-
return this.refract(ray, rayIndex, incidentPoint, incidentData.normal, n1, surfaceMergingObjs, ray.bodyMergingthis);
261+
return this.refract(ray, rayIndex, incidentPoint, incidentData.normal, n1, surfaceMergingObjs, ray.bodyMergingObj);
262262
}
263263

264264
getIncidentData(ray) {

src/core/sceneObjs/glass/Glass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ class Glass extends BaseGlass {
466466
};
467467
}
468468

469-
return this.refract(ray, rayIndex, incidentPoint, incidentData.normal, n1, surfaceMergingObjs, ray.bodyMergingthis);
469+
return this.refract(ray, rayIndex, incidentPoint, incidentData.normal, n1, surfaceMergingObjs, ray.bodyMergingObj);
470470
}
471471

472472
getIncidentType(ray) {

0 commit comments

Comments
 (0)