diff options
author | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
commit | f1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch) | |
tree | ab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/assimp/port/assimp_rs/src/structs/matrix | |
parent | f567ea1e2798fd3156a416e61f083ea3e6b95719 (diff) |
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/assimp/port/assimp_rs/src/structs/matrix')
-rw-r--r-- | libs/assimp/port/assimp_rs/src/structs/matrix/matrix.rs | 64 | ||||
-rw-r--r-- | libs/assimp/port/assimp_rs/src/structs/matrix/mod.rs | 4 |
2 files changed, 0 insertions, 68 deletions
diff --git a/libs/assimp/port/assimp_rs/src/structs/matrix/matrix.rs b/libs/assimp/port/assimp_rs/src/structs/matrix/matrix.rs deleted file mode 100644 index 4673b2d..0000000 --- a/libs/assimp/port/assimp_rs/src/structs/matrix/matrix.rs +++ /dev/null @@ -1,64 +0,0 @@ -#[derive(Clone, Debug, Copy)] -struct Matrix3x3 { - a1: f32, - a2: f32, - a3: f32, - b1: f32, - b2: f32, - b3: f32, - c1: f32, - c2: f32, - c3: f32 -} - -#[derive(Clone, Debug, Copy)] -struct Matrix4x4 { - a1: f32, - a2: f32, - a3: f32, - a4: f32, - b1: f32, - b2: f32, - b3: f32, - b4: f32, - c1: f32, - c2: f32, - c3: f32, - c4: f32, - d1: f32, - d2: f32, - d3: f32, - d4: f32 -} - -impl Matrix3x3 { - pub fn new( - a1_f32: f32, a2_f32: f32, a3_f32: f32, - b1_f32: f32, b2_f32: f32, b3_f32: f32, - c1_f32: f32, c2_f32: f32, c3_f32: f32 - ) -> Matrix3x3 { - Matrix3x3 { - a1: a1_f32, a2: a2_f32, a3: a3_f32, - b1: b1_f32, b2: b2_f32, b3: b3_f32, - c1: c1_f32, c2: c2_f32, c3: c3_f32 - } - } -} - -impl Matrix4x4 { - pub fn new( - a1_f32: f32, a2_f32: f32, a3_f32: f32, a4_f32: f32, - b1_f32: f32, b2_f32: f32, b3_f32: f32, b4_f32: f32, - c1_f32: f32, c2_f32: f32, c3_f32: f32, c4_f32: f32, - d1_f32: f32, d2_f32: f32, d3_f32: f32, d4_f32: f32 - ) -> Matrix4x4 { - Matrix4x4 { - a1: a1_f32, a2: a2_f32, a3: a3_f32, a4: a4_f32, - b1: b1_f32, b2: b2_f32, b3: b3_f32, b4: b4_f32, - c1: c1_f32, c2: c2_f32, c3: c3_f32, c4: c4_f32, - d1: d1_f32, d2: d2_f32, d3: d3_f32, d4: d4_f32 - } - } -} - - diff --git a/libs/assimp/port/assimp_rs/src/structs/matrix/mod.rs b/libs/assimp/port/assimp_rs/src/structs/matrix/mod.rs deleted file mode 100644 index b0fb1e1..0000000 --- a/libs/assimp/port/assimp_rs/src/structs/matrix/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -mod matrix; -pub use self::matrix::{ - Matrix3x3, - Matrix4x4}; |