Hi guys
Got a bit of a problem here. I am trying to draw a pentagon shape on my geometry shader but for some reason the final vertex is always ending up co-located with the 2nd vertex after the center. Any ideas?
v.p = center;
triStream.Append(v);
//top left
v.p = center+float4(-0.07702941f, 0.02502837f, 0, 0);
triStream.Append(v);
//top
v.p = center+float4(0, 0.08099352f, 0, 0);
triStream.Append(v);
//top right
v.p = center+float4(0.07702941f, 0.02502837f, 0, 0);
triStream.Append(v);
//bottom right
v.p = center+float4(0.04760679f, -0.06552513f, 0, 0);
triStream.Append(v);
//bottom left
v.p = center+float4(-0.04760679f, -0.06552513f, 0, 0);
triStream.Append(v);