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

mat2: add new function glm_mat2_make #301

Merged
merged 1 commit into from
May 15, 2023

Conversation

EasyIP2023
Copy link
Contributor

Function takes in a 4 element float array
and converts it into a mat2 matrix.

Function takes in a 4 element float array
and converts it into a mat2 matrix.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
CGLM_INLINE
mat2s
glms_mat2_(make)(float * __restrict src, mat2s dest) {
glm_mat2_make(src, dest.raw);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually the returned value is dest os no need to separate dest param, I'll fix it after merge.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

530ec2d commit did the job.

@recp recp merged commit c691bc5 into recp:master May 15, 2023
@recp
Copy link
Owner

recp commented May 15, 2023

@EasyIP2023 thanks for your contribution[s], the PR is merged now 🚀

@EasyIP2023 EasyIP2023 deleted the feature/glm_mat2_make branch May 15, 2023 16:58
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