public static CSphere ReadCSphere(this BinaryReader reader) { var ret = new CSphere(); ret.Origin = reader.ReadUInt32(); ret.Radius = reader.ReadSingle(); return(ret); }
public static void Write(this BinaryWriter writer, CSphere sphere) { writer.Write(sphere.Origin); writer.Write(sphere.Radius); }