Exemplo n.º 1
0
 public void serialize(OutputBuffer buf) throws IOException {
   from.serialize(buf);
   buf.writeFloat(x);
   buf.writeFloat(y);
   buf.writeFloat(z);
   buf.writeFloat(rw);
   buf.writeFloat(rx);
   buf.writeFloat(ry);
   buf.writeFloat(rz);
   buf.writeUTF(name);
 }
 public void serialize(OutputBuffer buf) throws IOException {
   buf.writeUTF(name);
   id.serialize(buf);
 }