BSPParser
Simple and modern library for parsing the Valve BSP format
|
#include <phys-model.hpp>
Public Attributes | |
int32_t | modelIndex = 0 |
int32_t | solidCount = 0 |
std::span< const std::byte > | collisionData |
std::span< const std::byte > | textSectionData |
Raw physmesh solid and text data for a given model.
std::span<const std::byte> BspParser::PhysModel::collisionData |
Raw .PHY solid data. Use PhyParser::parseSurfaces
from the accompanying PHYParser library to parse this.
int32_t BspParser::PhysModel::modelIndex = 0 |
Index into the model lump this physics model is for
int32_t BspParser::PhysModel::solidCount = 0 |
Total number of solids in the collision surface sections
std::span<const std::byte> BspParser::PhysModel::textSectionData |
Raw .PHY text section data. Use PhyParser::parseTextSection
from the accompanying PHYParser library to parse this.