![]() ![]() ![]() MeshFile = ReadFixedUString f FileNameSize Vertsize,VertCount,FaceCount,VertPos,FacePosĪppend Mesh_Info_Array (Mesh_Info_Struct vertsize:vertsize VertCount:VertCount FaceCount:FaceCount VertPos:VertPos FacePos:FacePos) OutputAsFloat = bit.or (bit.or (bit.shift fraction 13) (bit.shift exponentF 23)) (bit.shift sign 31) Ouput 32 bit integer representing a 32 bit float Str += bit.intAsChar (ReadByte bstream #unsigned)Įxponent = (bit.shift (bit.and inputAsInt (bit.hexasint "7C00")) -10) as integer - 16įraction = bit.and inputAsInt (bit.hexasint "03FF") Print ("This is the Count 0x" + (bit.intAsHex Var) as string) ![]() Print ("This is the offset 0x" + (bit.intAsHex Var) as string) Prevents "Runtime Error: Out of scripter memory" ![]() HeapSize = 200000000 - allow ~ 40 MB instead of just 7.5 MB. Code: Select all if (heapSize < 20000000) then
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |