diff options
author | quou <quou@disroot.org> | 2024-12-27 12:04:51 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-27 12:04:51 +1100 |
commit | e8c93463b2ae5114f0c88e768e5625abac9d5a50 (patch) | |
tree | 3fc7b774eb9bf172fbcb95bb3a410093a5b5b856 /sc | |
parent | 0d2179f6beb7e11632b76dac0615e593cafaaf00 (diff) |
3D maths
Diffstat (limited to 'sc')
-rw-r--r-- | sc/sc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -167,6 +167,12 @@ struct Desc { return { 12, 16 }; case svariable_type_vec4: return { 16, 16 }; + case svariable_type_mat2: + return { 16, 16 }; + case svariable_type_mat3: + return { 36, 16 }; + case svariable_type_mat4: + return { 64, 16 }; } assert(0); return { 0, 0 }; |