lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit d5bd82761a - Show all commits

View File

@ -16,16 +16,17 @@ fn test_arithmetic(){
#[test]
fn matrix_dot(){
let rhs=Matrix4x2::new([
[ 1.0, 2.0],
[ 3.0, 4.0],
[ 5.0, 6.0],
[ 7.0, 8.0],
]);
let lhs=Matrix3x4::new([
[1.0,2.0,3.0,4.0],
[5.0,6.0,7.0,8.0],
[9.0,1.0,1.0,1.0],
]);
let rhs=Matrix4x2::new([
[1.0,2.0],
[3.0,4.0],
[5.0,6.0],
[7.0,8.0],
[1.0, 2.0, 3.0, 4.0],// [ 50.0, 60.0],
[5.0, 6.0, 7.0, 8.0],// [114.0,140.0],
[9.0,10.0,11.0,12.0],// [178.0,220.0],
]);
// Mat3<Vec4>.dot(Mat4<Vec2>) -> Mat3<Vec2>
let m_dot=lhs.dot(rhs);