I am mapping my texture onto my model. Some of the side faces are not mapping. The texture on them is the correct. I checked to see if sometimes it was maybe not sending correct uvPoints, but it is always sending the points. Some of my points are smaller than 0.005, so I tried change those to just 0, but it did the same thing. Any idea what is causing this?

```
void SKPModel::AddFace(point3d *pPoints, SUMaterialRef mat, point2d *uvPoints, int count, int numFaces)
{
SUEntitiesRef entities = SU_INVALID;
SUComponentDefinitionGetEntities(component, &entities);
SUGeometryInputRef input = SU_INVALID;
SUGeometryInputCreate(&input);
SUPoint3D* vertices = new SUPoint3D[3];
SUPoint2D* uvCoords = new SUPoint2D[3];
for (int i=0; i < count; i++) {
SUPoint3D t;
t.x = pPoints[i].x;
t.y = pPoints[i].y;
t.z = pPoints[i].z;
vertices[i] = t;
}
for (int p=0; p < count; p++) {
SUPoint2D a;
a.x = uvPoints[p].x;
a.y = uvPoints[p].y;
uvCoords[p] = a;
}
SUGeometryInputSetVertices(input, 3, vertices);
if(count > 2){
SULoopInputRef loop = SU_INVALID;
SULoopInputCreate(&loop);
for(size_t j=0; j < count; j++)
{
SULoopInputAddVertexIndex(loop, j);
}
size_t face_index0;
SUGeometryInputAddFace(input, &loop, &face_index0);
SUMaterialInput mat_input;
mat_input.material = mat;
mat_input.num_uv_coords = 3;
for(int k=0; k < 3; k++)
{
mat_input.vertex_indices[k] = k;
mat_input.uv_coords[k] = uvCoords[k];
}
SUGeometryInputFaceSetFrontMaterial(input, face_index0, &mat_input);
SUGeometryInputFaceSetBackMaterial(input, face_index0, &mat_input);
SUEntitiesFill(entities, input, true);
}
delete[] vertices;
}
```