Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit 74a22c4f authored by Kenneth Vanhoey's avatar Kenneth Vanhoey
Browse files

Read of binary ply files independently of endianness

parent c4cef9f2
......@@ -2075,12 +2075,6 @@ void get_binary_item(
char *byte = (char *) &word ;
int my_endianness = byte[0] ? PLY_BINARY_LE : PLY_BINARY_BE ;
if (my_endianness == PLY_BINARY_BE)
printf("Big endian \n") ;
printf("Little endian\n") ;
switch (type) {
case PLY_Int8:
fread (ptr, 1, 1, fp);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment