Update ModelFile class and add public access modifiers to struct members

This commit is contained in:
miku-666
2022-11-11 19:09:26 +01:00
parent bd613db898
commit 9a7121c56b

View File

@@ -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<Box> Boxes { get; } = new List<Box>();
public string name;
public (float x, float y, float z) position;
public (float yaw, float pitch, float roll) rotation;
public List<Box> Boxes { get; } = new List<Box>();
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,