Minor improvements
This commit is contained in:
parent
827504fbd0
commit
8d5707ce57
@ -1 +1 @@
|
||||
Subproject commit 95a6fb3a4b5eca70dee33381611e5df9d28fdcee
|
||||
Subproject commit 2e61e1b710cb0c0455d80970b7d072d70db7ac83
|
@ -373,7 +373,7 @@ void NetworkSync::SendText(const char* s) {
|
||||
|
||||
void NetworkSync::SendInt(const int x) {
|
||||
String s = String(x);
|
||||
byte length = s.length();
|
||||
char length = s.length();
|
||||
|
||||
unsigned char ix = 0;
|
||||
buffer[ix++] = 0xB0;
|
||||
@ -425,7 +425,8 @@ void NetworkSync::SendSpherical16(unsigned char* data,
|
||||
void NetworkSync::SendSwingTwist(unsigned char* data,
|
||||
unsigned char* ix,
|
||||
const SwingTwist16 r) {
|
||||
SendQuat32(buffer, ix, r.ToQuaternion());
|
||||
Quaternion q = r.ToQuaternion();
|
||||
SendQuat32(buffer, ix, q);
|
||||
}
|
||||
|
||||
void NetworkSync::SendQuat32(unsigned char* data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user