glmaths 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/benchmark.js CHANGED
@@ -196,7 +196,7 @@ function vec3Benchmarks() {
196
196
  glm.vec3.distance(a1, b1);
197
197
  });
198
198
  s8.add('glmaths Vec3.distance(a, b)', () => {
199
- glmaths.Vec3.distance(a2, b2);
199
+ const c = glmaths.Vec3.distance(a2, b2);
200
200
  });
201
201
 
202
202
 
@@ -207,7 +207,7 @@ function vec3Benchmarks() {
207
207
  glm.vec3.lerp(lerpOut1, a1, b1, 0.5);
208
208
  });
209
209
  s9.add('glmaths Vec3.lerp(a, b, 0.5, out)', () => {
210
- glmaths.Vec3.lerp(a2, b2, 0.5, lerpOut2);
210
+ const c = glmaths.Vec3.lerp(a2, b2, 0.5, lerpOut2);
211
211
  });
212
212
 
213
213
  return runSuite(s1)