This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
functions:packshorts [2017/03/19 18:09] – created korshun | functions:packshorts [2017/03/19 18:09] – korshun | ||
---|---|---|---|
Line 17: | Line 17: | ||
===== Examples ===== | ===== Examples ===== | ||
< | < | ||
- | // Pack rounded 2D actor positioninto a single integer. | ||
int packed = PackShorts(12345, | int packed = PackShorts(12345, | ||
UnpackShort1(packed) -> 12345 | UnpackShort1(packed) -> 12345 |