From 9a7121c56b8a37a84665dfafa82cf904092807d0 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Fri, 11 Nov 2022 19:09:26 +0100 Subject: [PATCH] Update ModelFile class and add public access modifiers to struct members --- PCK-Studio/Classes/FileTypes/ModelFile.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/PCK-Studio/Classes/FileTypes/ModelFile.cs b/PCK-Studio/Classes/FileTypes/ModelFile.cs index 9e615050..cdc0dd9f 100644 --- a/PCK-Studio/Classes/FileTypes/ModelFile.cs +++ b/PCK-Studio/Classes/FileTypes/ModelFile.cs @@ -59,18 +59,18 @@ namespace PckStudio.Classes.FileTypes public struct Part { - string name; - (float x, float y, float z) position; - (float yaw, float pitch, float roll) rotation; - List Boxes { get; } = new List(); + public string name; + public (float x, float y, float z) position; + public (float yaw, float pitch, float roll) rotation; + public List Boxes { get; } = new List(); public struct Box { - (float x, float y, float z) Position; - (int width, int height, int length) Size; - float U, V; - float Scale; - bool Mirror; + public (float x, float y, float z) Position; + public (int width, int height, int length) Size; + public float U, V; + public float Scale; + public bool Mirror; public Box((float x, float y, float z) position, (int width, int height, int length) size,