transpose.lua 333 B

1234567891011121314151617
  1. return {
  2. summary = 'Transpose the matrix.',
  3. description = 'Transposes the matrix, mirroring its values along the diagonal.',
  4. arguments = {},
  5. returns = {
  6. self = {
  7. type = 'Mat4',
  8. description = 'The transposed matrix.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'self' }
  15. }
  16. }
  17. }