Crates.io | rmesh |
lib.rs | rmesh |
version | 0.4.0 |
source | src |
created_at | 2023-03-01 09:05:06.53017 |
updated_at | 2024-08-18 20:39:09.131845 |
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 | 24,477 |
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);