/*--------------------------------------------------------------------------------*/ public static float getKeyShapeVal(Part part, MoodHighRes mood, int keyVal) { switch (part) { case Part.EYES: if (keyVal >= MAX_EYE_KEYS) { return(0.0f); } return(eyeKeysPolarHighRes[(int)mood, keyVal] * 100); case Part.FACE: if (keyVal >= MAX_FACE_KEYS) { return(0.0f); } return(faceKeysPolarHighRes[(int)mood, keyVal] * 100); default: return(0.0f); } }
/*--------------------------------------------------------------------------------*/ public static float getArousal(MoodHighRes mood) { return(valenceArousal[(int)mood][1]); }