Skip to content

Commit 88d1e69

Browse files
committed
move additional matrix functions to there own file and add missing ones
1 parent cb0f479 commit 88d1e69

File tree

5 files changed

+417
-285
lines changed

5 files changed

+417
-285
lines changed

examples/matrixTest/main.cu

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,15 @@ int main()
174174
myLog.print(LogLvl::INFO) << toString(m8*invert(m8));
175175
myLog.print(LogLvl::INFO) << toString(invert(m8)*m8);
176176

177+
Mat<float,3,3> m92( 0,0,5,
178+
0,5,0,
179+
5,0,0);
180+
logINFO("MatrixTesting") << "testing invert of 4x4..";
181+
myLog.print(LogLvl::INFO) << toString(invert(m92));
182+
myLog.print(LogLvl::INFO) << toString(m92*invert(m92));
183+
myLog.print(LogLvl::INFO) << toString(invert(m92)*m92);
184+
185+
177186
Mat<float,4,4> m9( 0,0,0,5,
178187
0,0,5,0,
179188
0,5,0,0,

0 commit comments

Comments
 (0)