From 2a10757c541939946f26d18a7fe07ca171e73747 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Fri, 1 Dec 2023 00:02:22 +0100 Subject: [PATCH] refactor: made all fields of Vertex public --- lithium-loader/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lithium-loader/src/lib.rs b/lithium-loader/src/lib.rs index c36984e..77f0a0e 100644 --- a/lithium-loader/src/lib.rs +++ b/lithium-loader/src/lib.rs @@ -2,9 +2,9 @@ use anyhow::Result; use lithium_utils::{Vector2, Vector3}; pub struct Vertex { - position: Vector3, - uv: Vector2, - normal: Vector3, + pub position: Vector3, + pub uv: Vector2, + pub normal: Vector3, } impl Vertex {