From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Dynamics/RaycastHit.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Runtime/Dynamics/RaycastHit.h (limited to 'Runtime/Dynamics/RaycastHit.h') diff --git a/Runtime/Dynamics/RaycastHit.h b/Runtime/Dynamics/RaycastHit.h new file mode 100644 index 0000000..2f0f9e8 --- /dev/null +++ b/Runtime/Dynamics/RaycastHit.h @@ -0,0 +1,6 @@ +#pragma once + +#include "Runtime/Math/Vector2.h" +#include "Collider.h" + +Vector2f CalculateRaycastTexcoord (Collider* collider, const Vector2f& uv, const Vector3f& pos, UInt32 face, int texcoord); -- cgit v1.1-26-g67d0