I wrote some code to make hexagons using sf::Triangles, but the texture is not displaying on the entity as I would expect. Along the top-left vectors, things are mostly fine, but along the others, especially the bottom-right, some peripheral pixels are cut off. An enlarged screenshot and the texture are attached. Below is the printout of the vertex coordinates. The data was the same for .position and .texCoords. According to the data and my texture, I can't find any reason why the image is not displaying properly.
I also have another question, which is related. If, using vertices, I define two lines that are mirror images of each other, such as the diagonal sides of a hexagon, will the set of pixels that make up both lines also be mirror images? Or, what if they are the same line (at different locations) but the order of the vertices is different, so that, in a sense, one line is drawn from left to right and the other from right to left. I know that the paint program I used to make my texture produced a different configuration for each line (using the line tool). If they're not the same, how do I approach that? For example, how would I make two diagonal lines flush with one another?
27 32
54 48
27 64
27 32
27 64
0 48
27 32
0 48
0 16
27 32
0 16
27 3.55271e-15
27 32
27 3.55271e-15
54 16
27 32
54 16
54 48