//--------------------------------------------------------------------- EbVector3 calAcc(Acceleration acceleration, float time) { return(acceleration.t * EbMath.Sin(acceleration.m * time)); }
public static float Angle(EbVector3 from, EbVector3 to) { return(EbMath.Acos(EbMath.Clamp(EbVector3.dot(from.normalized, to.normalized), -1f, 1f))); }