#pragma once
#include "../../include/embree4/rtcore.h"
RTC_NAMESPACE_USE
namespace embree
{
__forceinline bool isCoherent (RTCRayQueryFlags flags) { … }
__forceinline bool isIncoherent(RTCRayQueryFlags flags) { … }
#define RTC_CATCH_BEGIN
#define RTC_CATCH_END(device) …
#define RTC_CATCH_END2(scene) …
#define RTC_CATCH_END2_FALSE(scene) …
#if 0
#define RTC_CATCH_BEGIN …
#define RTC_CATCH_END …
#define RTC_CATCH_END2 …
#define RTC_CATCH_END2_FALSE …
#endif
#define RTC_VERIFY_HANDLE(handle) …
#define RTC_VERIFY_GEOMID(id) …
#define RTC_VERIFY_UPPER(id,upper) …
#define RTC_VERIFY_RANGE(id,lower,upper) …
#if 0
#define RTC_TRACE …
#else
#define RTC_TRACE(x) …
#endif
#if 0
struct rtcore_error : public std::exception
{
__forceinline rtcore_error(RTCError error, const std::string& str)
: error(error), str(str) {}
~rtcore_error() throw() {}
const char* what () const throw () {
return str.c_str();
}
RTCError error;
std::string str;
};
#endif
#if defined(DEBUG)
#define throw_RTCError …
#else
#define throw_RTCError(error,str) …
#endif
#define RTC_BUILD_ARGUMENTS_HAS(settings,member) …
inline void storeTransform(const AffineSpace3fa& space, RTCFormat format, float* xfm)
{ … }
}