mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-22 13:53:02 +05:30
Removed printouts
This commit is contained in:
parent
c6c57269b9
commit
e1d2dff25e
@ -62,6 +62,5 @@ void append(const char *filename, const char *t, unsigned size) {
|
|||||||
if (written == 0) {
|
if (written == 0) {
|
||||||
perror("write error");
|
perror("write error");
|
||||||
}
|
}
|
||||||
printf("wrote %x\n", written);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,6 @@ void writemesh(const struct MeshHeader *mh,
|
|||||||
for (int i = 0; i < newmh.numBatch; i++) {
|
for (int i = 0; i < newmh.numBatch; i++) {
|
||||||
unsigned int nVertices = m -> b -> bd[i].numVertex;
|
unsigned int nVertices = m -> b -> bd[i].numVertex;
|
||||||
append(fn, (char*)(m -> b[i].vd.positions), sizeof(struct Coordinate) * nVertices);
|
append(fn, (char*)(m -> b[i].vd.positions), sizeof(struct Coordinate) * nVertices);
|
||||||
DEVIL1GEO.printcoordinate(m -> b -> vd.positions, 3);
|
|
||||||
append(fn, (char*)(m -> b[i].vd.normals), sizeof(struct Coordinate) * nVertices);
|
append(fn, (char*)(m -> b[i].vd.normals), sizeof(struct Coordinate) * nVertices);
|
||||||
append(fn, (char*)(m -> b[i].vd.u), sizeof(struct UVs) * nVertices);
|
append(fn, (char*)(m -> b[i].vd.u), sizeof(struct UVs) * nVertices);
|
||||||
append(fn, (char*)(m -> b[i].vd.bi), sizeof(struct BoneIndexes) * nVertices);
|
append(fn, (char*)(m -> b[i].vd.bi), sizeof(struct BoneIndexes) * nVertices);
|
||||||
|
Loading…
Reference in New Issue
Block a user