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:
parent
fd375dd50f
commit
8da1912fff
2
src/__comm__/_pt3_hash.scad
Normal file
2
src/__comm__/_pt3_hash.scad
Normal file
@ -0,0 +1,2 @@
|
||||
function _pt3_hash(number_of_buckets) =
|
||||
function(p) floor(abs(p * [73856093, 19349669, 83492791])) % number_of_buckets;
|
Loading…
x
Reference in New Issue
Block a user