|
@@ -123,6 +123,7 @@ export default class SVG extends Geometry {
|
|
|
x: Math.cos(this.angle + Math.PI / 2),
|
|
x: Math.cos(this.angle + Math.PI / 2),
|
|
|
y: Math.sin(this.angle + Math.PI / 2),
|
|
y: Math.sin(this.angle + Math.PI / 2),
|
|
|
};
|
|
};
|
|
|
|
|
+ console.log(this.angle);
|
|
|
const p = {
|
|
const p = {
|
|
|
x: this.center.x + v.x * len,
|
|
x: this.center.x + v.x * len,
|
|
|
y: this.center.y + v.y * len,
|
|
y: this.center.y + v.y * len,
|