JackStephen
@jackstephen
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 5
Topic
18 years ago
Forum
Replies: 6
Views: 46
Reply
RE: FloatSwap

Thank you very much Jonathan. That solution it’s perfect and much easier for me. Now about the float precision, I don’t see any problem with that. Do …

18 years ago
Forum
Topic
18 years ago
Forum
Replies: 3
Views: 19
Reply
RE: SwapShort

No, thank you for the big help Georg.

18 years ago
Forum
Reply
RE: SwapShort

I need to export the geometry of 3dsmax to a binary file format and for that format I need to flip the bytes. That’s why I need this.

18 years ago
Forum
Reply
RE: SwapShort

[size=2][color=white]Problem solved. fn[/color][/size] ShortSwap s = ( b1 = bit.and s 255 b2 = bit.and (bit.shift s 8) 255 return ( (bit.shift 8 b1…

18 years ago
Forum
Reply
RE: SwapShort

Well that’s my problem too, but I know a litle bit of c++. I know that “<<” is a bitwise shift left operator and the “>>” is a bitwise sh…

18 years ago
Forum
Topic
18 years ago
Forum
Replies: 9
Views: 20