| 127 | out.write('w'.toInt()) |
| 128 | F(t.toDouble()) |
| 129 | currentStrokeThickness = t.toDouble() |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | fun fillInfo(c: Vec4) { |
| 134 | if (c.distance(currentFillColor) > 1e-10) { |
| 135 | out.write('f'.toInt()) |
| 136 | F(c.x) |
| 137 | F(c.y) |
| 138 | F(c.z) |
| 139 | F(c.w) |
| 140 | currentFillColor %= c |
| 141 | } |