// Copyright HTC Corporation. All Rights Reserved. #pragma once #include "OpenXRCore.h" #include "IOpenXRARModule.h" #include "IOpenXRARModule.h" #include "IOpenXRARTrackedGeometryHolder.h" namespace ViveOpenXR { class TrackedMeshCollision { public: TrackedMeshCollision(TArray vertices, TArray indices); ~TrackedMeshCollision(); bool Collides(const FVector Start, const FVector End, const FTransform MeshToWorld, FVector& OutHitPoint, FVector& OutHitNormal, float& OutHitDistance); private: TArray m_Vertices; TArray m_Indices; FBox m_BoundingBox; }; }// namespace ViveOpenXR