Outlines rewrite theoretically done
This commit is contained in:
parent
df7b76c610
commit
4844a044df
3 changed files with 36 additions and 24 deletions
|
@ -58,6 +58,10 @@ module.exports = class Point {
|
|||
return m.model.moveRelative(m.model.rotate(model, this.r), this.p)
|
||||
}
|
||||
|
||||
unposition(model) {
|
||||
return m.model.rotate(m.model.moveRelative(model, [-this.x, -this.y]), -this.r)
|
||||
}
|
||||
|
||||
rect(size=14) {
|
||||
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