Text editor: Remove prototype. Update README

This commit is contained in:
Krzosa Karol
2024-06-14 09:06:10 +02:00
parent ff612d00ef
commit 42ec3f7a18
8 changed files with 32 additions and 72 deletions

View File

@@ -36,3 +36,8 @@ ClampFloat :: proc(val: float, min: float, max: float): float {
if (val < min) return min;
return val;
}
IsFlagSet :: proc(flags: u64, f: u64): bool {
result := flags & f;
return :bool(result);
}