If I read your posting correctly, you need what is
called a "hash function". Try a web search on "one
way hash". You will most likely find C code or C++ code
within ten minutes or less of searching. Most hash functions
seem to operate on integers and use bit shifts so you'de need
to write extra macros to emulate an integer bit shift, since
pov uses floats for numbers.
Pete
Post a reply to this message
|