summaryrefslogtreecommitdiff
path: root/Runtime/Geometry/TangentSpaceCalculation.h
blob: 2e925b0752ac0fdd1d650aeaf445cd8b23946b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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