moved the vn and fn in the writig of the header
This commit is contained in:
parent
5a2dccac0b
commit
6f6235a93b
|
@ -25,6 +25,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.1 2007/02/14 01:20:37 ganovelli
|
||||||
|
working draft of VCG Mesh Image importer and exporter. Does not consider optional attributes. The mesh atributes are only vn and fn (no bbox, texture coordiantes)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -80,9 +83,8 @@ namespace io {
|
||||||
/* write the address of the first face */
|
/* write the address of the first face */
|
||||||
fwrite(&offsetF,sizeof( int),1,f);
|
fwrite(&offsetF,sizeof( int),1,f);
|
||||||
|
|
||||||
/* save the object mesh (first draft)*/
|
/* save the object mesh */
|
||||||
fwrite(&m.vn,sizeof(int),1,f);
|
fwrite(&m,sizeof(SaveMeshType),1,f);
|
||||||
fwrite(&m.fn,sizeof(int),1,f);
|
|
||||||
|
|
||||||
int written;
|
int written;
|
||||||
/* save the vertices */
|
/* save the vertices */
|
||||||
|
|
Loading…
Reference in New Issue