Closed khdlr closed 6 months ago
vec3 is horrible for performance. @MartGro and I were just profiling the midpoint calculation. With the vec3 code, calculating midpoints takes 3700ms. After rewriting in vanilla js, it now takes 3ms.
vec3
-> We should probably get rid of vec3 altogether.
Fixed with 3cfc4dc5f5ba71eaccb80e633808f70e6aac976b
vec3
is horrible for performance. @MartGro and I were just profiling the midpoint calculation. With thevec3
code, calculating midpoints takes 3700ms. After rewriting in vanilla js, it now takes 3ms.-> We should probably get rid of
vec3
altogether.