Files
UnrealEngine/Engine/Plugins/Editor/ProxyLODPlugin/Source/ProxyLOD/Private/ProxyLODOpenVDB.h
2025-05-18 13:04:45 +08:00

52 lines
1.0 KiB
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "HAL/Platform.h"
#include "Misc/CoreMiscDefines.h"
THIRD_PARTY_INCLUDES_START
UE_PUSH_MACRO("check")
#undef check
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#define LOCAL_M_PI 1
#endif
#ifndef M_PI_2
#define M_PI_2 1.57079632679489661923 // pi/2
#define LOCAL_M_PI_2 1
#endif
#define BOOST_ALLOW_DEPRECATED_HEADERS
#include <openvdb/openvdb.h>
#include <openvdb/tools/Composite.h> // for csgUnion
#include <openvdb/tools/Interpolation.h> // for grid sampler
#include <openvdb/tools/MeshToVolume.h> // for MeshToVolume
#include <openvdb/tools/VolumeToMesh.h> // for VolumeToMesh
#undef GetObject
#if LOCAL_M_PI
#undef M_PI
#endif
#if LOCAL_M_PI_2
#undef M_PI_2
#endif
#ifdef _MSC_VER
#pragma warning (pop)
#endif
UE_POP_MACRO("check")
THIRD_PARTY_INCLUDES_END