public void ApplyState(RotationState s) { Yaw.Value = s.Yaw; Pitch.Value = s.Pitch; Roll.Value = s.Roll; }
public RotationState Lerp(RotationState s2, float weight) { return(new RotationState(MathHelper.Lerp(Yaw, s2.Yaw, weight), MathHelper.Lerp(Pitch, s2.Pitch, weight), MathHelper.Lerp(Roll, s2.Roll, weight))); }
public Frame(double time, PartId part, RotationState state) { Time = time; Part = part; State = state; }