#include <math.h>
#include <cstdio>
static const int M = 30;
static const int N = 2 * M;
int main(int, char**) {
try {
af::Window myWindow(800, 800,
"3D Surface example: ArrayFire");
static float t = 0;
while (!myWindow.
close()) {
t += 0.07;
}
fprintf(stderr,
"%s\n", e.
what());
throw;
}
return 0;
}