Resolve compiler warning for signed indexing
This commit is contained in:
parent
2871475659
commit
49c4286fce
|
@ -100,7 +100,7 @@ void ARayCastSemanticLidar::SimulateLidar(const float DeltaTime)
|
|||
|
||||
GetWorld()->GetPhysicsScene()->GetPxScene()->lockRead();
|
||||
ParallelFor(ChannelCount, [&](int32 idxChannel) {
|
||||
for (int idxPtsOneLaser = 0; idxPtsOneLaser < PointsToScanWithOneLaser; idxPtsOneLaser++) {
|
||||
for (auto idxPtsOneLaser = 0u; idxPtsOneLaser < PointsToScanWithOneLaser; idxPtsOneLaser++) {
|
||||
FHitResult HitResult;
|
||||
const float VertAngle = LaserAngles[idxChannel];
|
||||
const float HorizAngle = CurrentHorizontalAngle + AngleDistanceOfLaserMeasure * idxPtsOneLaser;
|
||||
|
|
Loading…
Reference in New Issue