Fix tansmission parameters to reflect parameters.
This commit is contained in:
@@ -17,8 +17,8 @@ Matrix filterReflectionData(const Matrix &aVReceiverPositionBlock,
|
||||
auto positionDifs = aVReceiverPositionBlock - aVSenderPositionBlock;
|
||||
auto inbetweenAngle = acos(dot(aVSenderNormalBlock, positionDifs) /
|
||||
vecnorm(positionDifs, Norm2, 1));
|
||||
auto flags = Aurora::auroraNot((inbetweenAngle < (PI * transParams::angleLowerLimit / 180)) +
|
||||
(inbetweenAngle > (PI * transParams::angleUpperLimit / 180)));
|
||||
auto flags = Aurora::auroraNot((inbetweenAngle < (PI * reflectParams::angleLowerLimit / 180)) +
|
||||
(inbetweenAngle > (PI * reflectParams::angleUpperLimit / 180)));
|
||||
reflectData = reflectData * flags;
|
||||
}
|
||||
return reflectData;
|
||||
|
||||
Reference in New Issue
Block a user