mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-07-31 03:50:27 +02:00
add _pt3_hash
This commit is contained in:
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;
|
Reference in New Issue
Block a user