mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-12 16:10:04 +01:00
Place rectangles by their centers
This commit is contained in:
parent
73045e4754
commit
0ed29e7e1d
5 changed files with 105 additions and 106 deletions
|
|
@ -59,7 +59,7 @@ module.exports = class Point {
|
|||
}
|
||||
|
||||
rect(size=14) {
|
||||
let rect = u.rect(size, size, [-size/2, -size/2], this.meta.mirrored)
|
||||
let rect = u.rect(size, size, [-size/2, -size/2])
|
||||
return this.position(rect)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue