Files
DefinitelyTyped/three
Chris Grigg 962bd3a273 Correct @types/three TubeGeometry path argument (#13475)
Despite being called "path," `TubeGeometry` requires a Vector3 curve. I think this came from someone misreading the docs (https://threejs.org/docs/#Reference/Geometries/TubeGeometry), where it identifies the first argument like this:

```
path — Curve - A path that inherits from the Curve base class
```

The "Curve" in the description links to https://threejs.org/docs/#Reference/Extras.Core/Curve.

A `Path`, meanwhile, comes from a list of Vector2s, which seems totally incompatible.
2016-12-27 19:43:08 -05:00
..