1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-13 18:51:53 +02:00

add _pt3_hash

This commit is contained in:
Justin Lin 2021-09-07 15:47:01 +08:00
parent fd375dd50f
commit 8da1912fff

View File

@ -0,0 +1,2 @@
function _pt3_hash(number_of_buckets) =
function(p) floor(abs(p * [73856093, 19349669, 83492791])) % number_of_buckets;