跳转到内容

random_fhash

int  random_fhash(float seed)

int  random_fhash(float seed, float seed2)

int  random_fhash(vector seed)

int  random_fhash(vector4 seed)

int  random_fhash(vector2 seed)

将给定的数字哈希为整数值。即使输入存在极微小的差异,哈希结果也可能不同。