computeFrenetFrames
Functions
- computeNormalHintFromTangent(result, tangent)
Compute a normal vector for Frenet frame based on a tangent (direction in which vertex points)
- computeFrenetFrames(points, [closed], [normal_hint]) ⇒
Object
computeNormalHintFromTangent(result, tangent)
Compute a normal vector for Frenet frame based on a tangent (direction in which vertex points)
Kind: global function
Param | Type |
---|---|
result | Vector3 |
tangent | Vector3 |
computeFrenetFrames(points, [closed], [normal_hint]) ⇒ Object
Kind: global function
See: https://github.com/mrdoob/three.js/blob/c12c9a166a1369cdd58622fff2aff7e3a84305d7/src/extras/core/Curve.js#L260
Param | Type |
---|---|
points | Float32Array | Array.<number> |
[closed] | boolean |
[normal_hint] | Vector3 |