mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
Merge pull request #36 from SaFrMo/rectarealight-fix
rectarealight helper fix
This commit is contained in:
commit
62f47d10aa
@ -23,7 +23,7 @@ export default {
|
|||||||
|
|
||||||
if (this.helper) {
|
if (this.helper) {
|
||||||
this.lightHelper = new RectAreaLightHelper(this.light);
|
this.lightHelper = new RectAreaLightHelper(this.light);
|
||||||
this.addToParent(this.lightHelper);
|
this.light.add(this.lightHelper);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.initLight();
|
this.initLight();
|
||||||
|
Loading…
Reference in New Issue
Block a user