This commit is contained in:
Robin Appelman 2022-12-24 19:23:32 +01:00
commit c55dec1b4f
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ pub const MDL_VERSION: i32 = 7;
type Result<T> = std::result::Result<T, ModelError>; type Result<T> = std::result::Result<T, ModelError>;
/// The vtx file contains the mesh data for each mesh in an mdl, indexing into the vvd file
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct Vtx { pub struct Vtx {
pub header: VtxHeader, pub header: VtxHeader,

View file

@ -6,6 +6,7 @@ pub use raw::{BoneWeight, Tangent, Vertex};
type Result<T> = std::result::Result<T, ModelError>; type Result<T> = std::result::Result<T, ModelError>;
/// The vvd file contains the raw vertex data that will be indexed into based on the vtx data
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct Vvd { pub struct Vvd {
pub header: VvdHeader, pub header: VvdHeader,