Skip to content

riccardoscalco/glsl-gcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages