star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

commit b230307afb65d72bc3a2f13564e79a365ea29780
parent 1b9751ee10efb03ac6aa79f17b49881b75fdf0cd
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 28 Apr 2023 11:23:32 +0200

Use Embree 4 rather than Embree 3

This new version does not introduce an API break on the functions
currently used. This port therefore simply consists of defining the
required version for CMake and renaming the directory in which the
Embree headers are searched.

Diffstat:
Mcmake/CMakeLists.txt | 2+-
Msrc/suvm_c.h | 2+-
Msrc/suvm_device.h | 2+-
Msrc/suvm_volume.h | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -23,7 +23,7 @@ option(NO_TEST "Do not build tests" OFF) ################################################################################ # Check dependencies ################################################################################ -find_package(Embree 3.6 REQUIRED) +find_package(Embree 4.0 REQUIRED) find_package(RCMake 0.4 REQUIRED) find_package(RSys 0.13 REQUIRED) if(NOT NO_TEST) diff --git a/src/suvm_c.h b/src/suvm_c.h @@ -17,7 +17,7 @@ #define SUVM_C_H #include <rsys/rsys.h> -#include <embree3/rtcore.h> +#include <embree4/rtcore.h> static FINLINE res_T rtc_error_to_res_T(const enum RTCError err) diff --git a/src/suvm_device.h b/src/suvm_device.h @@ -17,7 +17,7 @@ #define SUVM_DEVICE_H #include <rsys/ref_count.h> -#include <embree3/rtcore.h> +#include <embree4/rtcore.h> struct logger; struct mem_allocator; diff --git a/src/suvm_volume.h b/src/suvm_volume.h @@ -21,7 +21,7 @@ #include <rsys/float3.h> #include <rsys/ref_count.h> -#include <embree3/rtcore.h> +#include <embree4/rtcore.h> /* * Tetrahedron geometric layout