From f1fe73d1909a2448a004a88362a1a532d0d4f7c3 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Feb 2023 23:53:22 -0600 Subject: switch to tinyobj and nanovg from assimp and cairo --- .../port/assimp_rs/src/structs/matrix/matrix.rs | 64 ---------------------- .../port/assimp_rs/src/structs/matrix/mod.rs | 4 -- 2 files changed, 68 deletions(-) delete mode 100644 libs/assimp/port/assimp_rs/src/structs/matrix/matrix.rs delete mode 100644 libs/assimp/port/assimp_rs/src/structs/matrix/mod.rs (limited to 'libs/assimp/port/assimp_rs/src/structs/matrix') 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}; -- cgit v1.2.1