-
Notifications
You must be signed in to change notification settings - Fork 148
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
Use BI's new matrix commands #1173
Conversation
Needs deprecation markers. |
@@ -26,8 +26,4 @@ Author: | |||
|
|||
params [["_matrixA", [], [[]], 3], ["_matrixB", [], [[]], 3]]; | |||
|
|||
_matrixB = [_matrixB] call CBA_fnc_matrixTranspose; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where did the transpose go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for transpose anymore. It was just a workaround for an easier access to column vectors as 1D arrays, since vectorDotProduct only supports 1D arrays.
Yes, I would say all except |
Someone use execVM "\x\cba\addons\vectors\test_vectors.sqf"; |
@commy2 when does it get moved to |
Never? |
None of the other vector component functions have a warning, even if they got engine or BI functions. |
Inconsistency bothers me. |
Keep it consistent with the rest of vectors component. |
Looks fine:
If deprecation conventions should be changed for vectors component, it should clearly be dealt with in a different PR. |
Yes, not talking about changing it in this PR, or at all really. |
Don't merge before those commands are in stable. |
They are in stable though. |
When merged this pull request will:
matrixTranspose
andmatrixMultiply