Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some missing non-square matrix funcs #340

Merged
merged 14 commits into from
Aug 7, 2023
Merged

add some missing non-square matrix funcs #340

merged 14 commits into from
Aug 7, 2023

Conversation

recp
Copy link
Owner

@recp recp commented Jul 21, 2023

add missing functions for new non-square matrices:

  • copy
  • zero
  • mul
  • mulv
  • transpose
  • scale

@EasyIP2023
Copy link
Contributor

@recp Do you need any help with this MR. I can write some docs for you.

@recp
Copy link
Owner Author

recp commented Aug 5, 2023

@EasyIP2023 thanks, it would be nice to have docs and tests yes ;)

@EasyIP2023
Copy link
Contributor

@recp Question is glm_mat2x3_transpose supposed to be glm_mat2x3_transpose_to?

@EasyIP2023
Copy link
Contributor

@recp Nevermind just thought about why

EasyIP2023 and others added 10 commits August 5, 2023 20:54
Functions include:
	* glm_mat#x#_copy
	* glm_mat#x#_zero
	* glm_mat#x#_mul
	* glm_mat#x#_mulv
	* glm_mat#x#_transpose
	* glm_mat#x#_scale

Commit also includes some minor changes to
	* mat2
	* mat3
	* mat4

Signed-off-by: Vincent Davis Jr <[email protected]>
warning: array subscript # is outside array bounds
of ‘float[#]’ [-Warray-bounds]

Commit also fixes variable order when calculating
multiplication between two matrices.

Signed-off-by: Vincent Davis Jr <[email protected]>
Signed-off-by: Vincent Davis Jr <[email protected]>
Signed-off-by: Vincent Davis Jr <[email protected]>
Signed-off-by: Vincent Davis Jr <[email protected]>
Signed-off-by: Vincent Davis Jr <[email protected]>
Signed-off-by: Vincent Davis Jr <[email protected]>
Signed-off-by: Vincent Davis Jr <[email protected]>
add docs and tests to non-square-matrix branch
@recp recp merged commit cdd4d0e into master Aug 7, 2023
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants