Crates.io | rmesh |
lib.rs | rmesh |
version | 0.3.5 |
source | src |
created_at | 2023-03-01 09:05:06.53017 |
updated_at | 2024-04-03 01:37:03.585384 |
description | A parser for the rmesh extension |
homepage | https://github.com/scpcbredux/rmesh/ |
repository | https://github.com/scpcbredux/rmesh/ |
max_upload_size | |
id | 797886 |
size | 23,593 |
Rust parser for rmesh file extension. The rmesh file extension is used in SCPCB
for room meshes.
let bytes = std::fs::read("GFX/map/lockroom_opt.rmesh").unwrap();
let rmesh = read_rmesh(&bytes).unwrap();
assert_eq!(rmesh.colliders.len(), 0);
assert_eq!(rmesh.entities.len(), 13);