add luau module to main

WIP implementation method
This commit is contained in:
unittensor 2024-01-20 20:19:10 -05:00
parent 6e703075e9
commit 99b9c527b4

View File

@ -1,5 +1,6 @@
mod bvh; mod bvh;
mod aabb; mod aabb;
mod luau;
mod model; mod model;
mod setup; mod setup;
mod window; mod window;
@ -117,5 +118,7 @@ pub fn default_models()->model::IndexedModelInstances{
} }
fn main(){ fn main(){
luau::new_state().expect("Failed to load strafe lua");
setup::setup_and_start(format!("Strafe Client v{}",env!("CARGO_PKG_VERSION"))); setup::setup_and_start(format!("Strafe Client v{}",env!("CARGO_PKG_VERSION")));
} }