Ottaz
10-08-2010, 12:14 PM
Is there a way to use glsl classes like vec3 and vec2 etc, within the source program code or is it exclusive to the shader files?
I'm trying to avoid having to write my own vector class complete with normalization, dot and cross product methods etc etc...
I'm trying to avoid having to write my own vector class complete with normalization, dot and cross product methods etc etc...