//--------------------------------------------------------------------- public static float angle(CDirection left_direction, CDirection right_direction) { float left = CLogicUtility.getAngle(left_direction.mDirection); float right = CLogicUtility.getAngle(right_direction.mDirection); return(_abs(left - right)); }
//--------------------------------------------------------------------- public static CDirection slerp(CDirection left_direction, CDirection right_direction, float t) { return new CDirection(EbVector3.lerp(left_direction.mDirection, right_direction.mDirection, t)); }
//--------------------------------------------------------------------- public static CDirection slerp(CDirection left_direction, CDirection right_direction, float t) { return(new CDirection(EbVector3.lerp(left_direction.mDirection, right_direction.mDirection, t))); }
//--------------------------------------------------------------------- public static float angle(CDirection left_direction, CDirection right_direction) { float left = CLogicUtility.getAngle(left_direction.mDirection); float right = CLogicUtility.getAngle(right_direction.mDirection); return _abs(left - right); }