summaryrefslogtreecommitdiffstats
path: root/scene/resources/surface_tool.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-29 08:47:29 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-29 08:48:39 -0300
commita2027cfa49610cf7653288ddaffdbe33c70e75f8 (patch)
tree20fd39caffe243aa1c6ddd7d758b2db3135a5b91 /scene/resources/surface_tool.h
parentb2d53257ed63499f7774b81a5aa4f959cdf4c27e (diff)
downloadredot-engine-a2027cfa49610cf7653288ddaffdbe33c70e75f8.tar.gz
-Fixes to how collada generates tangents (use SurfaceTool), closes #9562
-Fix to gridmap cell size (wrong property type)
Diffstat (limited to 'scene/resources/surface_tool.h')
-rw-r--r--scene/resources/surface_tool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/surface_tool.h b/scene/resources/surface_tool.h
index 2a90c2743d..cdaac643de 100644
--- a/scene/resources/surface_tool.h
+++ b/scene/resources/surface_tool.h
@@ -90,6 +90,8 @@ private:
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);
protected:
static void _bind_methods();