1.0.1 • Published 5 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-gcd
Usage
#pragma glslify: gcd = require(glsl-gcd)
float d = gcd(9., 6.); // return 3.
1.0.1
5 years ago