Author:ptrace Comitter:ptrace Date:2026-08-16 06:04:15 UTC

removed 0x2_Math dependency from 0x2_Colored

diff --git a/0x2_Colored.jai b/0x2_Colored.jai index 254006c..a114bfd 100644 --- a/0x2_Colored.jai +++ b/0x2_Colored.jai @@ -313,14 +313,21 @@ RGB_HEX_STRING_LENGTH :: 7; RGB_ERROR_MSG :: "Invalid RGB string."; roundf :: inline (x: float) -> float {     return floor(x + 0.5); } round :: inline (x: float) -> int {     return xx floor(x + 0.5); } using,only(     log_error, min, max, temp, assert, alloc_string, to_integer, advance, is_digit ) Basic  :: #import "Basic"; using,only(slice, split, contains) String :: #import "String"; using,only(fmod_cycling, U8_MAX, abs) Math :: #import "Math"; #import,file "0x2_Math.jai"; using,only(fmod_cycling, U8_MAX, abs, floor) Math :: #import "Math"; /* diff --git a/README.md b/README.md index 47f9d1e..a7aec32 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Currently, only Linux support. | Module Name    | Description                                | Dependency | +----------------+--------------------------------------------+------------+ | 0x2_Bitpack    | Packing multiple numeric values into one   | -          | | 0x2_Colored    | HSL <> RGB <> Hex conversion               | 0x2_Math   | | 0x2_Colored    | HSL <> RGB <> Hex conversion               | -          | | 0x2_Crashed    | Crash handler which provides location info | addr2line  | | 0x2_Datefmt    | Python-like date formatter                 | -          | | 0x2_Lexer      | It lexes bytes                             | -          |