Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into mnc-dev