mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
better strategy for collecting incoming ANARI-SDK namespaces
This commit is contained in:
parent
383ec83991
commit
ea6136ede6
@ -17,7 +17,15 @@
|
||||
#include <anari/anari_cpp.hpp>
|
||||
#include <anari/anari_cpp/ext/linalg.h>
|
||||
|
||||
namespace anari_cpp = ::anari;
|
||||
namespace anari_cpp
|
||||
{
|
||||
|
||||
/// Put everything from the ANARI-SDK in a single namespace to de-clutter things
|
||||
|
||||
using namespace ::anari;
|
||||
using namespace ::anari::math;
|
||||
|
||||
} // namespace anari_cpp
|
||||
|
||||
namespace anari
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user