Cannot read property 'matrixWorld' of undefined


Cannot read property 'matrixWorld' of undefined

### no
```typegetBoxEdges(box) {      const offset = this.cloud.offset      const geometry = box.geometry      const ltw = box.localToWorld      const coors = geometry.vertices.map(xyz => {        const world = ltw(xyz)        return [world.x + offset[0], world.y + offset[1], world.z + offset[2]]      })      return coors    }```

### yes
```typegetBoxEdges(box) {      const offset = this.cloud.offset      const geometry = box.geometry      const coors = geometry.vertices.map(xyz => {        const world = box.localToWorld(xyz)        return [world.x + offset[0], world.y + offset[1], world.z + offset[2]]      })      return coors    }```