1
0
Fork 0

Update packages/bella/src/back.js

Co-authored-by: Nick Dower <nicholasdower@gmail.com>
This commit is contained in:
Wouter van Wageningen 2022-03-29 11:55:32 -07:00 committed by GitHub
parent 22c7234751
commit 50f2483295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ export default function (part) {
points.cbNeckCp1 = new Point(points.hps.x * 0.8, points.cbNeck.y)
let slope = measurements.shoulderSlope * options.shoulderSlopeBack * -1
points.shoulder = utils.beamsIntersect(
new Point((measurements.shoulderToShoulder * (1+options.shoulderToShoulderEase)) / 2, 0),
new Point((measurements.shoulderToShoulder * (1+options.shoulderToShoulderEase)) / 2, 100),
new Point((measurements.shoulderToShoulder * (1 + options.shoulderToShoulderEase)) / 2, 0),
new Point((measurements.shoulderToShoulder * (1 + options.shoulderToShoulderEase)) / 2, 100),
points.hps,
points.hps.shift(slope, 85)
)