Пример #1
0
 public void Read(EndianStream stream)
 {
     if (IsVector3)
     {
         T3.Read(stream);
     }
     else
     {
         T4.Read(stream);
     }
     Q.Read(stream);
     if (IsVector3)
     {
         S3.Read(stream);
     }
     else
     {
         S4.Read(stream);
     }
 }
Пример #2
0
 public void Read(AssetReader reader)
 {
     if (IsVector3(reader.Version))
     {
         T = reader.ReadAsset <Vector3f>();
     }
     else
     {
         T4.Read(reader);
     }
     Q.Read(reader);
     if (IsVector3(reader.Version))
     {
         S = reader.ReadAsset <Vector3f>();
     }
     else
     {
         S4.Read(reader);
     }
 }