2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-28 07:17:47 +00:00

refactor: extract TangentData from JsonXModelLoader

This commit is contained in:
Jan
2024-09-09 18:53:36 +02:00
parent b282e611fc
commit 543a4f06e4
3 changed files with 63 additions and 51 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#include "XModel/XModelCommon.h"
#include <array>
#include <vector>
class TangentData
{
public:
void CreateTangentData(const XModelCommon& common);
std::vector<std::array<float, 3>> m_tangents;
std::vector<std::array<float, 3>> m_binormals;
};