Commit 30f4151b authored by Allison Vacanti's avatar Allison Vacanti

Add missing headers to examples.

parent a2a55eda
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
// this software. // this software.
//============================================================================ //============================================================================
// Must be included before any other GL includes:
#include <GL/glew.h>
#include <algorithm> #include <algorithm>
#include <iostream> #include <iostream>
#include <random> #include <random>
......
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL #define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL
#endif #endif
// Must be included before any other GL includes:
#include <GL/glew.h>
#include <iostream> #include <iostream>
#include <vtkm/Math.h> #include <vtkm/Math.h>
......
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
#include <chrono> #include <chrono>
#include <vector> #include <vector>
#ifdef __BUILDING_TBB_VERSION__
#include <tbb/task_scheduler_init.h>
#endif
const vtkm::Id SPARSE = 0; const vtkm::Id SPARSE = 0;
const vtkm::Id DENSE = 1; const vtkm::Id DENSE = 1;
const vtkm::Id MEDIUM = 2; const vtkm::Id MEDIUM = 2;
......
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