Outlines rewrite theoretically done
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user