Fix include error

This commit is contained in:
Pascal Serrarens 2024-09-24 12:30:02 +02:00
parent dc9d1cd80f
commit 9a5fcf5798

View File

@ -11,7 +11,7 @@
#endif
#endif
#include "LinearAlgebra/Angle8.h"
#include "LinearAlgebra/Angle.h"
#include "LinearAlgebra/AngleUsing.h"
#include "LinearAlgebra/Spherical.h"
#include "float16/float16.h"
@ -419,8 +419,8 @@ void NetworkSync::SendPolar(unsigned char* data,
void NetworkSync::SendSpherical16(unsigned char* data,
unsigned char* startIndex,
Spherical16 s) {
SendAngle8(data, (*startIndex)++, s.horizontal.InDegrees());
SendAngle8(data, (*startIndex)++, s.vertical.InDegrees());
SendAngle8(data, (*startIndex)++, s.direction.horizontal.InDegrees());
SendAngle8(data, (*startIndex)++, s.direction.vertical.InDegrees());
SendFloat16(data, startIndex, s.distance);
}