| 195 | } |
| 196 | |
| 197 | static void TweakAflw( // hacks to more closely approximate a me17 shape from an AFLW shape |
| 198 | Shape& shape17) // io |
| 199 | { |
| 200 | const double eyemouth = EyeMouthDist(shape17); |
| 201 | // upper and lower lip not available |
| 202 | if (PointUsed(shape17, L17_CTopOfTopLip)) |
| 203 | shape17(L17_CTopOfTopLip, IY) -= .07 * eyemouth; |
| 204 | if (PointUsed(shape17, L17_CBotOfBotLip)) |
| 205 | shape17(L17_CBotOfBotLip, IY) += .07 * eyemouth; |
| 206 | // nostrils not available |
| 207 | if (PointUsed(shape17, L17_LNostril)) |
| 208 | shape17(L17_LNostril, IX) += .1 * eyemouth; |
| 209 | if (PointUsed(shape17, L17_RNostril)) |
| 210 | shape17(L17_RNostril, IX) -= .1 * eyemouth; |
| 211 | } |
| 212 | |
| 213 | static void TweakHelen( // hacks to more closely approximate a me17 shape from a Helen shape |
| 214 | Shape& shape17) // io |
no test coverage detected