Messing with matrices.
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 5m32s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 30s

This commit is contained in:
2025-06-11 08:12:31 -05:00
parent 2886bbb397
commit 9ecb64a2fe
7 changed files with 104 additions and 7 deletions

View File

@@ -15,6 +15,7 @@
#include <J3ML/Geometry.hpp>
#include <J3ML/J3ML.hpp>
#include <jlog/Logger.hpp>
#include <J3ML/LinearAlgebra/Matrix.hpp>
int main(int argc, char** argv)
@@ -50,9 +51,28 @@ int main(int argc, char** argv)
}
Ray a({420, 0, 0}, {1, 0, 0});
std::cout << a << std::endl;
Matrix4x4 A {
1, 2, 0, 1,
3, 1, 2, 0,
0, 4, 1, 2,
2, 0, 3, 1
};
Matrix4x4 B {
0, 1, 2, 3,
1, 0, 1, 0,
2, 3, 0, 1,
1, 2, 1, 0
};
auto C = A*B;
std::cout << C << std::endl;
std::cout << "j3ml demo coming soon" << std::endl;
return 0;
}