Skip to content
Snippets Groups Projects
Commit 4dc85c8a authored by terry-norbraten's avatar terry-norbraten
Browse files

note

parent 8d82c1f6
No related branches found
No related tags found
No related merge requests found
......@@ -300,10 +300,9 @@ public class PduPlayer {
datagramPacket = new DatagramPacket(bufferShort, bufferShort.length, addr, port);
datagramSocket.send(datagramPacket);
// Add Points to X3D Components
globalByteBufferForX3dInterPolators = new byte[byteBuffer2.array().length / 4];
globalByteBufferForX3dInterPolators = bufferShort.clone();
x3dInterpolators.addPointsToMap(globalByteBufferForX3dInterPolators);
x3dLineSet.addPointsToMap(globalByteBufferForX3dInterPolators);
x3dInterpolators.addPointsToMap(globalByteBufferForX3dInterPolators); // gets cloned again
x3dLineSet.addPointsToMap(globalByteBufferForX3dInterPolators); // gets cloned again
type = DISPDUType.getEnumForValue(Byte.toUnsignedInt(bufferShort[2])); // 3rd byte
System.out.println("Sent PDU: " + type);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment