mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 09:44:16 +02:00
update doc
This commit is contained in:
@@ -7,8 +7,8 @@ Eliminating duplicate copies of repeating vectors. If `lt` has a large number of
|
||||
## Parameters
|
||||
|
||||
- `lt` : A list of vectors.
|
||||
- `sorted` : If `false` (default), use native `search`. If `true`, `lt` must be sorted by zyx (from the last index to the first one) and `dedup` will use binary search internally.
|
||||
- `eq` : A equality function. If it's ignored, use `==` to compare elements. **Since: ** 3.0
|
||||
- `hash` : A hash function. If it's ignored, convert each element to a string and hash it. **Since: ** 3.0
|
||||
|
||||
## Examples
|
||||
|
||||
|
@@ -10,7 +10,7 @@ dotSCAD 3.0 Dev
|
||||
- `polyline3d`: Rename the parameter `thickness` to `diameter`.
|
||||
- `util/sort`: `by` accepts a function literal.
|
||||
- `util/bsearch`: only supports `sorted` and `target` parameters. I view it as a new function.
|
||||
- `util/dedup`: add the `eq` parameter.
|
||||
- `util/dedup`: delete `sorted` parameter. add the `eq` and `hash` parameters.
|
||||
- `util/zip`: add the `combine` parameter.
|
||||
- `lines_intersection` supports 3D
|
||||
- `vx_union`, `vx_circle`, `vx_bezier`, `vx_polygon` performance improved.
|
||||
|
Reference in New Issue
Block a user