public void Read(EndianStream stream) { if (IsVector3) { Min3.Read(stream); Max3.Read(stream); } else { Min4.Read(stream); Max4.Read(stream); } }
public void Read(AssetReader reader) { if (IsVector3(reader.Version)) { Min = reader.ReadAsset <Vector3f>(); Max = reader.ReadAsset <Vector3f>(); } else { Min4.Read(reader); Max4.Read(reader); } }