Example #1
0
 public void readFrom(Bytes bytes)
 {
     pos   = ReadWrappers.ReadVector3(bytes);
     rot   = ReadWrappers.ReadQuaternion(bytes);
     scale = ReadWrappers.ReadVector3(bytes);
 }
Example #2
0
 public void readFrom(Bytes bytes)
 {
     pos    = ReadWrappers.ReadVector3(bytes);
     normal = ReadWrappers.ReadVector3(bytes);
     uvs    = bytes.ReadArray <Vector2>(ReadWrappers.ReadVector2);
 }