mirror of https://github.com/qt/qtdatavis3d.git
Fix qmloscilloscope linking issue on some envs
Change-Id: Iab45f95e8ff0faacc5cf50fdf052bf2c69d7988a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
This commit is contained in:
parent
8cebfaed90
commit
8a7c69cb94
|
|
@ -84,7 +84,7 @@ void DataSource::generateData(int cacheCount, int rowCount, int columnCount,
|
|||
float colWave = float(qSin((2.0 * M_PI * colMod) - (1.0 / 2.0 * M_PI)) + 1.0);
|
||||
float y = (colWave * ((float(qSin(rowColWaveAngleMul * colMod) + 1.0))))
|
||||
* rowColWaveMul
|
||||
+ (0.15f * float(rand()) / float(RAND_MAX)) * yRangeMod;
|
||||
+ (0.15f * float(qrand()) / float(RAND_MAX)) * yRangeMod;
|
||||
|
||||
int index = k + cacheIndexAdjustment;
|
||||
if (index >= columnCount) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue