Get Variable Type dimensions.
130 {
132
133 if (str == "SCALAR") return 1;
134 else if (str == "VEC2") return 2;
135 else if (str == "VEC3") return 3;
136 else if (str == "VEC4") return 4;
137 else if (str == "MAT4") return 4 * 4;
138 else return -1;
139 }
#define SPICES_PROFILE_ZONE