summaryrefslogtreecommitdiff
path: root/Runtime/Dynamics/RaycastHit.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Dynamics/RaycastHit.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Dynamics/RaycastHit.h')
-rw-r--r--Runtime/Dynamics/RaycastHit.h6
1 files changed, 6 insertions, 0 deletions
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);