mirror of
https://github.com/Theaninova/mhlib.git
synced 2025-12-12 20:46:20 +00:00
add lightwave parser
This commit is contained in:
@@ -7,3 +7,4 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
starforcelib = {path = "../starforcelib"}
|
||||
lightwave = {path = "../lightwave"}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use starforcelib::sarc::SarcArchive;
|
||||
use lightwave::LightWaveObject;
|
||||
|
||||
fn main() {
|
||||
let path = "E:\\Games\\Moorhuhn Kart 3\\data.sar";
|
||||
SarcArchive::extract_all(path).unwrap();
|
||||
let obj = LightWaveObject::read_file("E:\\Games\\Moorhuhn Kart 3\\extract\\D\\Moorhuhnkart\\3dobjects_tracks\\track04_robinhood\\colreset.lwo").unwrap();
|
||||
println!("{:#?}", obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user