mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-26 01:13:48 +00:00
Add #row_major matrix[R, C]T
As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
This commit is contained in:
@@ -772,6 +772,7 @@ AST_KIND(_TypeBegin, "", bool) \
|
||||
Ast *row_count; \
|
||||
Ast *column_count; \
|
||||
Ast *elem; \
|
||||
bool is_row_major; \
|
||||
}) \
|
||||
AST_KIND(_TypeEnd, "", bool)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user