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/vec | |
parent | f567ea1e2798fd3156a416e61f083ea3e6b95719 (diff) |
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/assimp/port/assimp_rs/src/structs/vec')
-rw-r--r-- | libs/assimp/port/assimp_rs/src/structs/vec/mod.rs | 2 | ||||
-rw-r--r-- | libs/assimp/port/assimp_rs/src/structs/vec/vec.rs | 48 |
2 files changed, 0 insertions, 50 deletions
diff --git a/libs/assimp/port/assimp_rs/src/structs/vec/mod.rs b/libs/assimp/port/assimp_rs/src/structs/vec/mod.rs deleted file mode 100644 index 3613d5d..0000000 --- a/libs/assimp/port/assimp_rs/src/structs/vec/mod.rs +++ /dev/null @@ -1,2 +0,0 @@ -mod vec; - diff --git a/libs/assimp/port/assimp_rs/src/structs/vec/vec.rs b/libs/assimp/port/assimp_rs/src/structs/vec/vec.rs deleted file mode 100644 index ee0d194..0000000 --- a/libs/assimp/port/assimp_rs/src/structs/vec/vec.rs +++ /dev/null @@ -1,48 +0,0 @@ -struct Vector2d { - x: f32, - y: f32 -} - -struct Vector3d { - x: f32, - y: f32, - z: f32 -} - -struct Vector4d { - x: f32, - y: f32, - z: f32, - w: f32 -} - -impl Vector2d { - pub fn new(x_f32: f32, y_f32: f32) -> Vector2d { - Vector2d { - x: x_f32, - y: y_f32 - } - } -} - -impl Vector3d { - pub fn new(x_f32: f32, y_f32: f32, z_f32: f32) -> Vector3d { - Vector3d { - x: x_f32, - y: y_f32, - z: z_f32 - } - } -} - -impl Vector4d { - pub fn new(x_f32: f32, y_f32: f32, z_f32: f32, w_f32: f32) -> Vector4d { - Vector4d { - x: x_f32, - y: y_f32, - z: z_f32, - w: w_f32 - } - } -} - |