Skip to main content

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

ParamType
resultVector3
tangentVector3

computeFrenetFrames(points, [closed], [normal_hint]) ⇒ Object

Kind: global function
See: https://github.com/mrdoob/three.js/blob/c12c9a166a1369cdd58622fff2aff7e3a84305d7/src/extras/core/Curve.js#L260

ParamType
pointsFloat32Array | Array.<number>
[closed]boolean
[normal_hint]Vector3