fix support detection errand key sorting

This commit is contained in:
Stewart Allen 2021-06-16 23:37:15 -07:00
commit e3a6991845

View file

@ -1468,7 +1468,7 @@
}
get(x, y, z) {
let key = [x.round(4),y.round(4),z.round(4)].sort().join(',');
let key = [x.round(4),y.round(4),z.round(4)].join(',');
let val = this.cache[key];
if (!val) {
val = new THREE.Vector3(x, y, z);