@woosh/meep-engine 2.35.6 → 2.35.7

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.
@@ -323,8 +323,8 @@ function main(engine) {
323
323
  EngineHarness.buildBasics({ engine });
324
324
 
325
325
  const _p = new Path();
326
- _p.interpolation = InterpolationType.CatmullRom;
327
- // _p.interpolation = InterpolationType.Linear;
326
+ // _p.interpolation = InterpolationType.CatmullRom;
327
+ _p.interpolation = InterpolationType.Linear;
328
328
 
329
329
  // _p.setPositionsFromVectorArray(Path.smoothPath([
330
330
  // new Vector3(3, 1, 1),
@@ -352,14 +352,14 @@ function main(engine) {
352
352
 
353
353
  const pathDisplay = new PathDisplay();
354
354
  pathDisplay.specs.push(
355
- PathDisplaySpec.from(
356
- PathDisplayType.Ribbon,
357
- trailPathStyle
358
- ),
359
- PathDisplaySpec.from(
360
- PathDisplayType.Entity,
361
- sample_style_entity()
362
- ),
355
+ // PathDisplaySpec.from(
356
+ // PathDisplayType.Ribbon,
357
+ // trailPathStyle
358
+ // ),
359
+ // PathDisplaySpec.from(
360
+ // PathDisplayType.Entity,
361
+ // sample_style_entity()
362
+ // ),
363
363
  PathDisplaySpec.from(
364
364
  PathDisplayType.Tube,
365
365
  sample_style_tube()
@@ -99,6 +99,7 @@ function computeFrenetFrames(points, closed = false) {
99
99
  v3_1.normalize();
100
100
 
101
101
  destination.subVectors(v3_1, v3_0);
102
+ destination.normalize();
102
103
  }
103
104
 
104
105
  // compute the tangent vectors for each segment on the curve
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "productName": "Meep",
6
6
  "description": "production-ready JavaScript game engine based on Entity Component System Architecture",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.35.6",
8
+ "version": "2.35.7",
9
9
  "dependencies": {
10
10
  "gl-matrix": "3.4.3",
11
11
  "fast-levenshtein": "2.0.6",