Commit b0f60a47 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 4cb8127e
......@@ -24,7 +24,7 @@
#include <algorithm>
#include <core/common/math/WMath.h>
#include "core/common/math/WMath.h"
#include "WDataCreatorFiberSpiral.h"
......@@ -73,8 +73,8 @@ void WDataCreatorFiberSpiral::operator()( WProgress::SPtr progress,
fibIdx->push_back( vertOffset );
lengths->push_back( numVertsPerFiber );
double a1 = static_cast< double >( std::rand() % 255 ) / 255.0;
double a2 = static_cast< double >( std::rand() % 255 ) / 255.0;
double a1 = static_cast< double >( std::rand() % 255 ) / 255.0; // NOLINT - rand_r has portability issues.
double a2 = static_cast< double >( std::rand() % 255 ) / 255.0; // NOLINT - rand_r has portability issues.
double seedX = cos( 2.0 * piDouble * a1 ) * tubeRadius;
double seedY = sin( 2.0 * piDouble * a2 ) * tubeRadius;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment