Skip to content
Snippets Groups Projects
Commit c451c0d5 authored by Daniel Renninghoff's avatar Daniel Renninghoff
Browse files

Changed DebugLayer TriMesh

parent fc08bdf6
No related branches found
No related tags found
No related merge requests found
......@@ -1002,6 +1002,8 @@ namespace armarx
face.idNormal3 = f.vertex3.normalID;
face.idColor3 = f.vertex3.colorID;
face.normal = Eigen::Vector3f(f.normal.x, f.normal.y, f.normal.z);
triMesh->addFace(face);
}
......
......@@ -113,6 +113,13 @@ module armarx
int normalID;
int colorID;
};
struct DebugDrawerNormal
{
float x;
float y;
float z;
};
/*!
* \brief A triangle face consisting of 3 position-normal-color-vertices.
......@@ -122,6 +129,7 @@ module armarx
DebugDrawerVertexID vertex1;
DebugDrawerVertexID vertex2;
DebugDrawerVertexID vertex3;
DebugDrawerNormal normal;
};
sequence<DebugDrawerFace> DebugDrawerFaceSequence;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment