draws a curve from the current position, towards (but not through) the relative position `q1x, q1y`, then onto + `x, y`.
(double q1x, double q1y, double x, double y)
| 313 | return quadTo(at.x + q1x, at.y + q1y, at.x + x, at.y + y); |
| 314 | } |
| 315 | |
| 316 | /** |
| 317 | * draws a curve from the current position, towards (but not through) `q1x, q1y, q1z`, then onto `x, y`. |
| 318 | */ |
| 319 | public FLine quadTo(double q1x, double q1y, double q1z, double x, double y, double z) { |
| 320 | if (nodes.size() == 0) return moveTo(x, y); |
| 321 | |
| 322 | Vec3 at = last().to; |
| 323 | |
| 324 | double c1x = (at.x + q1x * 2) / 3; |