From 4c338210e954cd4f4859938989cc96b3f4a1b976 Mon Sep 17 00:00:00 2001 From: Daniel Hultgren Date: Tue, 24 Dec 2019 23:12:19 +0100 Subject: [PATCH] Added bounding volume property names --- I3DShapesTool/I3DShape.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/I3DShapesTool/I3DShape.cs b/I3DShapesTool/I3DShape.cs index eaa8978..2b67f51 100644 --- a/I3DShapesTool/I3DShape.cs +++ b/I3DShapesTool/I3DShape.cs @@ -14,14 +14,14 @@ public class I3DShape public string Name { get; private set; } public uint ShapeId { get; private set; } + + public float BoundingVolumeX { get; private set; } - public float Unknown2 { get; private set; } + public float BoundingVolumeY { get; private set; } - public float Unknown3 { get; private set; } + public float BoundingVolumeZ { get; private set; } - public float Unknown4 { get; private set; } - - public float Unknown5 { get; private set; } + public float BoundingVolumeR { get; private set; } public uint VertexCount { get; private set; } @@ -63,10 +63,10 @@ public void Load(BinaryReader br, int fileVersion) ShapeId = br.ReadUInt32(); - Unknown2 = br.ReadSingle(); - Unknown3 = br.ReadSingle(); - Unknown4 = br.ReadSingle(); - Unknown5 = br.ReadSingle(); + BoundingVolumeX = br.ReadSingle(); + BoundingVolumeY = br.ReadSingle(); + BoundingVolumeZ = br.ReadSingle(); + BoundingVolumeR = br.ReadSingle(); VertexCount = br.ReadUInt32(); Unknown6 = br.ReadUInt32(); Vertices = br.ReadUInt32();