chore(carlton): Ported carlton to new measurements. See #416
This commit is contained in:
parent
a7f4522753
commit
cb5b5da33b
5 changed files with 14 additions and 12 deletions
|
@ -1,12 +1,12 @@
|
|||
/**
|
||||
* This calculates a bunch of helper variables and stores them
|
||||
*/
|
||||
export const calculateRatios = part => {
|
||||
export const calculateRatios = (part) => {
|
||||
let { store, measurements, options } = part.shorthand()
|
||||
|
||||
// Calculate different values for reducing from chest to hips via waist
|
||||
store.set('chest', measurements.chestCircumference * (1 + options.chestEase))
|
||||
store.set('waist', measurements.naturalWaist * (1 + options.waistEase))
|
||||
store.set('waist', measurements.waistCircumference * (1 + options.waistEase))
|
||||
store.set('hips', measurements.hipsCircumference * (1 + options.hipsEase))
|
||||
store.set('seat', measurements.seatCircumference * (1 + options.seatEase))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue