mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
adjustments for upcoming ANARI-SDK changes
This commit is contained in:
parent
7c2a150c12
commit
c3489535af
@ -15,15 +15,17 @@
|
||||
#include <vtkm/Types.h>
|
||||
// anari
|
||||
#include <anari/anari_cpp.hpp>
|
||||
#if ANARI_SDK_VERSION_MINOR <= 3
|
||||
#include <anari/type_utility.h>
|
||||
#endif
|
||||
#include <anari/anari_cpp/ext/linalg.h>
|
||||
|
||||
namespace anari_cpp = ::anari;
|
||||
|
||||
namespace anari
|
||||
{
|
||||
|
||||
#if ANARI_SDK_VERSION_MINOR >= 8
|
||||
using namespace ::anari::math;
|
||||
#endif
|
||||
|
||||
/// These declarations let ANARI C++ bindings infer the correct `ANARIDataType`
|
||||
/// enum value from VTK-m's C++ math types. This header should be included
|
||||
/// before any code which needs this type inference to function.
|
||||
|
Loading…
Reference in New Issue
Block a user