|
|
|
@ -368,7 +368,7 @@ int process_faces(const world_t* world) |
|
|
|
//if (face->ledge_num >= 10)
|
|
|
|
// export_lightmap(world, face, bounds, faceIdx);
|
|
|
|
|
|
|
|
outFace.numFaceVertices = (unsigned char)(outFaceVertices.size() - outFace.firstFaceVertex); |
|
|
|
outFace.numFaceVertices = (unsigned short)(outFaceVertices.size() - outFace.firstFaceVertex); |
|
|
|
outFaces.push_back(outFace); |
|
|
|
} |
|
|
|
|
|
|
|
@ -390,9 +390,9 @@ int process_faces(const world_t* world) |
|
|
|
{ |
|
|
|
plane_t* plane = &world->planes[planeIdx]; |
|
|
|
|
|
|
|
ps1bsp_plane_t outPlane; |
|
|
|
ps1bsp_plane_t outPlane = { 0 }; |
|
|
|
outPlane.normal = convertNormal(plane->normal); |
|
|
|
outPlane.dist = (short)(plane->dist * 4); |
|
|
|
outPlane.dist = (int)(plane->dist * 4); |
|
|
|
|
|
|
|
outPlanes.push_back(outPlane); |
|
|
|
} |
|
|
|
|