work on uvanims

This commit is contained in:
aap
2018-01-07 02:12:20 +01:00
parent 9b56671186
commit c0a5e0961d
6 changed files with 307 additions and 8 deletions
+16
View File
@@ -40,6 +40,22 @@ static Matrix identMat = {
};
// lazy implementation
int
strcmp_ci(const char *s1, const char *s2)
{
char c1, c2;
for(;;){
c1 = tolower(*s1);
c2 = tolower(*s2);
if(c1 != c2)
return c1 - c2;
if(c1 == '\0')
return 0;
s1++;
s2++;
}
}
int
strncmp_ci(const char *s1, const char *s2, int n)
{