Created
September 25, 2015 13:10
-
-
Save hb3p8/06043a17d02798e895c1 to your computer and use it in GitHub Desktop.
ocl framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef double real; | |
typedef Eigen::Vector2d vec2; | |
typedef Eigen::Vector2i int2; | |
typedef Eigen::Vector4i int4; | |
vec2 mix (vec2 a, vec2 b, real c) { | |
return (a + b) * c; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment