diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-03 17:35:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 17:35:50 +0100 |
commit | 6f9aa8727c8905fbc0c10ea8d214c7d31f01f467 (patch) | |
tree | 3323aa7211455d752fd185af9cef5033afc606e5 /scene/resources/surface_tool.h | |
parent | b0c66154a4359674f27e4a6c8f13acb1e6fd04a7 (diff) | |
parent | 675dc00d04823e21ba9ea5ea6358c3eb322eb9f8 (diff) |
Merge pull request #23991 from glaforte/bugfix/19195
Generate the tangents without de-indexing and re-indexing the vertices.
Diffstat (limited to 'scene/resources/surface_tool.h')
-rw-r--r-- | scene/resources/surface_tool.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/resources/surface_tool.h b/scene/resources/surface_tool.h index 459d399380..cc8599e90a 100644 --- a/scene/resources/surface_tool.h +++ b/scene/resources/surface_tool.h @@ -90,7 +90,6 @@ private: static void mikktGetPosition(const SMikkTSpaceContext *pContext, float fvPosOut[], const int iFace, const int iVert); static void mikktGetNormal(const SMikkTSpaceContext *pContext, float fvNormOut[], const int iFace, const int iVert); static void mikktGetTexCoord(const SMikkTSpaceContext *pContext, float fvTexcOut[], const int iFace, const int iVert); - static void mikktSetTSpaceBasic(const SMikkTSpaceContext *pContext, const float fvTangent[], const float fSign, const int iFace, const int iVert); static void mikktSetTSpaceDefault(const SMikkTSpaceContext *pContext, const float fvTangent[], const float fvBiTangent[], const float fMagS, const float fMagT, const tbool bIsOrientationPreserving, const int iFace, const int iVert); |