text instancing

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent 3f4f9c5103
commit f71a9d742c
10 changed files with 197 additions and 77 deletions
-8
View File
@@ -70,14 +70,6 @@ Matrix4x4 orthographic_projection_2d(float left, float right, float bottom, floa
return result;
}
uint wide_str_len(const wide_str *text) {
uint len = 0;
for (uint i = 0; text[i] != '\0'; i++) {
len++;
}
return len;
}
int max(int a, int b) {
return a > b ? a : b;
}