f
This commit is contained in:
parent
4804293a4a
commit
8c11669e7f
1 changed files with 3 additions and 0 deletions
|
@ -236,6 +236,9 @@ proc parsePath*(path: string): Path =
|
|||
|
||||
proc transform*(path: var Path, mat: Mat3) =
|
||||
## Apply a matrix transform to a path.
|
||||
if mat == mat3():
|
||||
return
|
||||
|
||||
for command in path.commands.mitems:
|
||||
var mat = mat
|
||||
if command.kind.isRelative():
|
||||
|
|
Loading…
Reference in a new issue