Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/Pure3D/Chunks/CollisionAABB.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System.IO;

namespace Pure3D.Chunks
{
[ChunkType(117506054)]
public class CollisionAABB : Chunk
{

public CollisionAABB(File file, uint type) : base(file, type)
{
}

public override void ReadHeader(Stream stream, long length)
{
BinaryReader reader = new(stream);
reader.ReadUInt32(); // For some reason, there are 4 bytes here that do nothing
}

public override string ToString()
{
return "Collision Axis-Aligned Bounding Box";
}
}
}