1.0.1 • Published 7 years ago
glsl-gcd v1.0.1
glsl-gcd
Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.
Install
npm install glsl-gcdUsage
#pragma glslify: gcd = require(glsl-gcd)
float d = gcd(9., 6.); // return 3.1.0.1
7 years ago