A struct printer that prints a Matrix2, Matrix3, Matrix4 or Matrix4x3 as one row per line, each row as (a, b, c) with six decimal places and followed by a newline. Returns false for any other type. See math_struct_printer for how to install it.
print_matrix :: (builder: *String_Builder, any: Any, user_data: *void) -> bool
A struct printer for matrices. Prints each row on its own line. Returns false for any other type.
Parameters
- builder: *String_Builder
- where the text is appended.
- any: Any
- the value being printed.
- user_data: *void
- unused.
Returns
- bool