1
0
Fork 0

Update front.mjs

This commit is contained in:
Wouter van Wageningen 2024-09-17 22:18:13 -07:00 committed by GitHub
parent adefbe7d18
commit d0c190263a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,18 +50,21 @@ export const front = {
waistAngle -= 180 waistAngle -= 180
} }
const flyConst = 14
store.set('flyConst',flyConst)
points.flyTop = points.pW.shift( points.flyTop = points.pW.shift(
points.pW.angle(points.pZ) - 180 + waistAngle, points.pW.angle(points.pZ) - 180 + waistAngle,
halfInch * flyWidth flyConst * flyWidth
) )
points.flyBottom = points.flyTop.shift( points.flyBottom = points.flyTop.shift(
points.pW.angle(points.pZ), points.pW.angle(points.pZ),
points.pW.dist(points.pZ) - halfInch * flyWidth points.pW.dist(points.pZ) - flyConst * flyWidth
) )
points.pZcpFB = points.pZ.shift( points.pZcpFB = points.pZ.shift(
points.pW.angle(points.pZ) - waistAngle, points.pW.angle(points.pZ) - waistAngle,
halfInch * flyWidth * cc flyConst * flyWidth * cc
) )
points.pFBcpZ = points.flyBottom.shift(points.pW.angle(points.pZ), halfInch * flyWidth * cc) points.pFBcpZ = points.flyBottom.shift(points.pW.angle(points.pZ), halfInch * flyWidth * cc)