DarkflameServer/dCommon/ZCompression.h
David Markowitz fd27ffa9ae Normalize model positions when placing in the world
Have tested that placing a small and very large model both place and are located at the correct position.
2025-04-09 23:36:57 -07:00

13 lines
313 B
C++

#pragma once
#include <cstdint>
namespace ZCompression {
int32_t GetMaxCompressedLength(int32_t nLenSrc);
int32_t Compress(const uint8_t* abSrc, int32_t nLenSrc, uint8_t* abDst, int32_t nLenDst);
int32_t Decompress(const uint8_t* abSrc, int32_t nLenSrc, uint8_t* abDst, int32_t nLenDst, int32_t& nErr);
}