message: Fix wavelet demo scene.
diff: -// Copyright 2009-2020 Intel Corporation
  +// Copyright 2009-2021 Intel Corporation
  // SPDX-License-Identifier: Apache-2.0
  #include "Generator.h"
  @@ -33,10 +33,10 @@ namespace ospray {
  constexpr double YF = 3.f;
  constexpr double ZF = 3.f;
  - double value = M * G *
  - (XM * std::sin(XF * objectCoordinates.x) +
  - YM * std::sin(YF * objectCoordinates.y) +
  - ZM * std::cos(ZF * objectCoordinates.z));
  + double value = M * G
  + * (XM * std::sin(XF * objectCoordinates.x)
  + + YM * std::sin(YF * objectCoordinates.y)
  + + ZM * std::cos(ZF * objectCoordinates.z));
  if (std::is_unsigned<VOXEL_TYPE>::value) {
  value = fabs(value);
  @@ -81,7 +81,8 @@ namespace ospray {
  tasking::parallel_for(dimensions.z, [&](int z) {
  for (size_t y = 0; y < (size_t)dimensions.y; y++) {
  for (size_t x = 0; x < (size_t)dimensions.x; x++) {
  - size_t index = z * (size_t)dimensions.y * dimensions.x + y * dimensions.x + x;
  + size_t index =
  + z * (size_t)dimensions.y * dimensions.x + y * dimensions.x + x;
  vec3f objectCoordinates = transformLocalToObject(vec3f(x, y, z));
  voxels[index] = getWaveletValue(objectCoordinates);
  }
  @@ -91,10 +92,10 @@ namespace ospray {
  // Create sg subtree
  auto &tf = createChild("transferFunction", "transfer_function_jet");
  auto &volume = tf.createChild("wavelet", "structuredRegular");
  - volume["voxelType"] = int(OSP_FLOAT);
  - volume["gridOrigin"] = gridOrigin;
  - volume["gridSpacing"] = gridSpacing;
  - volume["dimensions"] = dimensions;
  + volume.createChild("voxelType") = int(OSP_FLOAT);
  + volume.createChild("gridOrigin") = gridOrigin;
  + volume.createChild("gridSpacing") = gridSpacing;
  + volume.createChild("dimensions") = dimensions;
  volume.createChildData("data", dimensions, 0, voxels.data());
  }
  