mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2026-01-01 13:08:07 +00:00
fix
This commit is contained in:
parent
926170c45d
commit
7f9cbbc866
1 changed files with 2 additions and 2 deletions
|
|
@ -4796,8 +4796,8 @@ function desc_dist(desc1,anchor1=CENTER, desc2, anchor2=CENTER)=
|
|||
|
||||
function transform_desc(T,desc) =
|
||||
assert(is_description(desc), "\nInvalid description.")
|
||||
is_consistent(T, ident(4)) ? [for(t=T) [t*desc[0], desc[1]]]
|
||||
: is_matrix(T,4,4) ? [T*desc[0], desc[1]]
|
||||
is_consistent(T, ident(4)) ? [for(t=T) [t*desc[0], desc[1],desc[2]]]
|
||||
: is_matrix(T,4,4) ? [T*desc[0], desc[1],desc[2]]
|
||||
: assert(false,"\nT must be a 4×4 matrix or list of 4×4 matrices.");
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue