aboutsummaryrefslogtreecommitdiff
path: root/NvBlast/tools/common/FbxUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'NvBlast/tools/common/FbxUtils.h')
-rw-r--r--NvBlast/tools/common/FbxUtils.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/NvBlast/tools/common/FbxUtils.h b/NvBlast/tools/common/FbxUtils.h
new file mode 100644
index 0000000..902af21
--- /dev/null
+++ b/NvBlast/tools/common/FbxUtils.h
@@ -0,0 +1,20 @@
+#pragma once
+#include "PxVec3.h"
+#include "PxVec2.h"
+
+namespace Nv
+{
+ namespace Blast
+ {
+ struct Vertex;
+ }
+}
+
+class FbxUtils
+{
+public:
+ static void VertexToFbx(Nv::Blast::Vertex& vert, FbxVector4& outVertex, FbxVector4& outNormal, FbxVector2& outUV);
+
+ static void PxVec3ToFbx(physx::PxVec3& inVector, FbxVector4& outVector);
+ static void PxVec2ToFbx(physx::PxVec2& inVector, FbxVector2& outVector);
+};