diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Geometry/TangentSpaceCalculation.h |
Diffstat (limited to 'Runtime/Geometry/TangentSpaceCalculation.h')
-rw-r--r-- | Runtime/Geometry/TangentSpaceCalculation.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Runtime/Geometry/TangentSpaceCalculation.h b/Runtime/Geometry/TangentSpaceCalculation.h new file mode 100644 index 0000000..2e925b0 --- /dev/null +++ b/Runtime/Geometry/TangentSpaceCalculation.h @@ -0,0 +1,13 @@ +#ifndef TANGENTSPACECALCULATION_H +#define TANGENTSPACECALCULATION_H + +class Vector3f; +class Vector2f; +class Matrix3x3f; + +void CreateTangentSpaceTangents (const Vector3f* pPositions, const Vector2f* tex, const Vector3f* normals, + Matrix3x3f* avgOrthonormalBases, int vertexCount, + const int* indices, int faceCount); + + +#endif |