diff options
| author | Freddyh11 <[email protected]> | 2021-11-26 19:27:17 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-26 19:27:17 -0800 |
| commit | a07014c90ae986835d8e07b62f56cc40259b63b3 (patch) | |
| tree | befd5d8e671b4594308ba5054311f9df4dc932dc /Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp | |
| parent | Update Project_3_Hernandez_Schroeder.cpp (diff) | |
| download | archived-project-3-hernandez-schroeder-a07014c90ae986835d8e07b62f56cc40259b63b3.tar.xz archived-project-3-hernandez-schroeder-a07014c90ae986835d8e07b62f56cc40259b63b3.zip | |
Update Project_3_Hernandez_Schroeder.cpp
Diffstat (limited to 'Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp')
| -rw-r--r-- | Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp b/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp index 0a69fde..74999b3 100644 --- a/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp +++ b/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder.cpp @@ -186,8 +186,13 @@ void getMatrices() void multiplyMatrices(float[3][3], float[3][3], float[3][3]) { - -} + //So ive been watching a couple videos on how to do matrix multipication and the rules for multiplication is a lot different from the rules of addition. + //Rows*Columns... when multipying the column has to be the same as the row and since we are using the 3x3 as const the rule doesnt really matter. + //The only thing im having trouble wrapping my head in terms of writing out the code how we are going to have to the Row multiply into each column. + //sum=AB + //row1 * col1 *col*2 *col3 + //row2 ..etc + //row3 ..etc void addMatrices(float MatrixA[3][3], float MatrixB[3][3], float MatrixC[3][3]) |