Module ascii_reader

Module ascii_reader 

Source
Expand description

ASCII MDL reader. ASCII MDL reader.

Parses human-readable ASCII MDL text into an Mdl model struct, producing the same representation as the binary reader. The parser is line-oriented and case-insensitive, matching the engine’s FuncInterp / InternalParseField dispatch pipeline.

Derived fields (bounding box, bounding sphere, face planes, adjacency, surface area) are computed automatically via MdlMesh::recompute_derived_fields after parsing.

Functions§

read_mdl_ascii
Reads an ASCII MDL model from a buffered reader.
read_mdl_ascii_from_str
Reads an ASCII MDL model from a string.