using System.Text.Json.Serialization; namespace SOTF_Struct.Generic { public class Rotation { [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public double x { get; set; } = 0.0f; [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public double y { get; set; } = 0.0f; [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public double z { get; set; } = 0.0f; [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public double w { get; set; } = 0.0f; } public class RotationD { [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public T x { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public T y { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public T z { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public T w { get; set; } } }