Exemple #1
0
 public override Quaternion Unpack(GSFPacket packet)
 {
     float[] values = (float[])packet.data;
     return(new Quaternion(values[0], values[1], values[2], values[1]));
 }
Exemple #2
0
 public override void unpack(ref object target, GSFPacket packet)
 {
     target = unpack(packet);
 }
Exemple #3
0
 public override Vector3 Unpack(GSFPacket packet)
 {
     float[] values = (float[])packet.data;
     return(new Vector3(values[0], values[1], values[2]));
 }