rbx_mesh 0.7.0

Rust parser for Roblox mesh files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::v3::{Mesh, PhysicsInfo};

#[binrw::binrw]
#[brw(little)]
#[brw(magic = b"CSGPHS\x07\0\0\0")]
#[derive(Debug, Clone)]
pub struct CSGPHS7 {
	#[brw(magic = 3u8)]
	pub physics_info: PhysicsInfo,
	#[br(parse_with=binrw::helpers::until_eof)]
	pub meshes: Vec<Mesh>,
}