spline3_hermite_subdivide
spline3_hermite_subdivide(output, output_offset, output_stride, p0, p1, m0, m1, [t])
Subdivides a Hermite curve into two hermite curves. The result is written in form [a_p0, a_p1, a_m0, a_m1, b_p0, b_p1, b_m0, b_m1], note the stride and offset.
Kind: global function
| Param | Type | Default | Description |
|---|---|---|---|
| output | Array.<number> | where to write the result | |
| output_offset | number | where to start writing | |
| output_stride | number | what should be the step between result values, useful when working in higher dimensions. Typically, this will be 1. | |
| p0 | number | ||
| p1 | number | ||
| m0 | number | tangent at p0 | |
| m1 | number | tangent at p1 | |
| [t] | number | 0.5 | where to split, normalized position, must be value between 0 and 1 |