Redesign boomerang shape as thin 120-degree crescent
This commit is contained in:
@@ -17,9 +17,10 @@ export class Boomerang {
|
||||
|
||||
constructor(scene: THREE.Scene) {
|
||||
const shape = new THREE.Shape();
|
||||
const outer = 1.05;
|
||||
const inner = 0.5;
|
||||
const half = (58 * Math.PI) / 180;
|
||||
// Dünner Sichel-Bumerang: Bogen (~120° = 1/3 Kreis) mit schmaler Bahn
|
||||
const outer = 0.75;
|
||||
const inner = 0.47;
|
||||
const half = (60 * Math.PI) / 180;
|
||||
const capR = (outer - inner) / 2;
|
||||
const mid = (outer + inner) / 2;
|
||||
|
||||
@@ -32,7 +33,7 @@ export class Boomerang {
|
||||
shape.absarc(0, 0, inner, half, -half, true);
|
||||
shape.absarc(
|
||||
mid * Math.cos(-half), mid * Math.sin(-half),
|
||||
capR, -half + Math.PI, -half, true
|
||||
capR, -half + Math.PI, -half, false
|
||||
);
|
||||
shape.closePath();
|
||||
const geom = new THREE.ExtrudeGeometry(shape, {
|
||||
|
||||
Reference in New Issue
Block a user