felixpalmer / procedural-gl-js

Mobile-first 3D mapping engine with emphasis on user experience
https://www.procedural.eu/map
Mozilla Public License 2.0
1.29k stars 84 forks source link

bugfix: valid args for ImageLoader.load #30

Open pavelvasev opened 3 years ago

pavelvasev commented 3 years ago

ImageLoader.load has the following signature (see https://threejs.org/docs/#api/en/loaders/ImageLoader.load)

.load ( url : String, onLoad : Function, onProgress : Function, onError : Function ) 

and this commit changes src/datasources/base.js to follow that signature.