StrandedKitty/three-csm

`breaks - 1` should be `breaks.length - 1`?

Closed this issue · 1 comments

https://github.com/vHawk/three-csm/blob/3f1ec07ef0248c774cbeaa9134f595c6c906aa34/src/Frustum.js#L113

Should this be breaks.length - 1? It looks like breaks is meant to be an array here.

Thanks, this typo didn't really break anything and I guess that's why I didn't notice it. Fixed in c3e3349