rewrite
This commit is contained in:
parent
d0a8b12c1a
commit
8535fd1211
30 changed files with 1297 additions and 1181 deletions
10
main.cpp
10
main.cpp
|
|
@ -9,13 +9,5 @@ using namespace Crafter;
|
|||
|
||||
|
||||
int main() {
|
||||
Matrix<float, 4, 4, 1> matrix(
|
||||
1, 0, 0, 0,
|
||||
0, 1, 0, 0,
|
||||
0, 0, 1, 0,
|
||||
1, 0, 0, 1
|
||||
);
|
||||
Vector<float, 4> test(0, 0, 0, 1);
|
||||
Vector<float, 4> result = matrix*test;
|
||||
std::cout << result.ToString() << std::endl;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue