calculate polygon normal, tangent, and bitangent,
next step, use them for calculation
This commit is contained in:
@@ -18,6 +18,9 @@ struct VertexData
|
||||
QVector3D position;
|
||||
QVector2D texCoord;
|
||||
QVector3D vertexNormal;
|
||||
QVector3D polygonNormal;
|
||||
QVector3D tangent;
|
||||
QVector3D bitangent;
|
||||
};
|
||||
|
||||
struct Segment {
|
||||
|
Reference in New Issue
Block a user