double floats in quickbms
Posted: Thu Jul 31, 2014 8:52 pm
I have this script, big endianness if it matters:
But it doesn;t print the correct values. How am I supposed to do it?
Code: Select all
for i = 0 < VERTICES
get VX longlong
get VY longlong
get VZ longlong
get DUMMY long
string VX p= "v %.16f " VX
string VY p= "%.16f " VY
string VZ p= "%.16f" VZ
putCt VX string -1 MEMORY_FILE
putCt VY string -1 MEMORY_FILE
putCt VZ string -1 MEMORY_FILE
put 0x0a0d short MEMORY_FILE
next i