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