rotateIbl method

  1. @override
Future rotateIbl(
  1. Matrix3 rotationMatrix
)
override

Implementation

@override
Future rotateIbl(Matrix3 rotationMatrix) async {
  var floatPtr = allocator<Float>(9);
  for (int i = 0; i < 9; i++) {
    floatPtr[i] = rotationMatrix.storage[i];
  }
  rotate_ibl(_viewer!, floatPtr);
  allocator.free(floatPtr);
}