diff --git a/lithium-loader/src/lib.rs b/lithium-loader/src/lib.rs index e3f08a3..a2d99ca 100644 --- a/lithium-loader/src/lib.rs +++ b/lithium-loader/src/lib.rs @@ -1,4 +1,20 @@ -use lithium_utils::{Vector2, Vector3, Vertex}; +use lithium_utils::{Vector2, Vector3}; + +pub struct Vertex { + position: Vector3, + uv: Vector2, + normal: Vector3, +} + +impl Vertex { + pub fn new(position: Vector3, uv: Vector2, normal: Vector3) -> Self { + Self { + position, + uv, + normal, + } + } +} pub struct Model { name: String, diff --git a/lithium-utils/src/lib.rs b/lithium-utils/src/lib.rs index 9b402af..4ddb1e0 100644 --- a/lithium-utils/src/lib.rs +++ b/lithium-utils/src/lib.rs @@ -36,19 +36,3 @@ impl Vector3 { Self { x, y, z } } } - -pub struct Vertex { - position: Vector3, - uv: Vector2, - normal: Vector3, -} - -impl Vertex { - pub fn new(position: Vector3, uv: Vector2, normal: Vector3) -> Self { - Self { - position, - uv, - normal, - } - } -}