virtual-world-framework / vwf

Virtual World Framework
https://virtual.wf
Other
142 stars 53 forks source link

Reset internal array when uniform length changes #519

Closed BrettASwift closed 8 years ago

BrettASwift commented 8 years ago

@kadst43

The array of values that is passed to the shader by threejs is created once and has a fixed length. Threejs does not check if the value length changes. This will reset the array when the uniform value length has changed so threejs will recreate it with the proper length.

kadst43 commented 8 years ago

:+1: