Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use horizon_mod_sdk::{Mod, Registration, render};
|
||||
struct Preview;
|
||||
impl Mod for Preview {
|
||||
fn init() -> Result<(Self, Registration), String> { Ok((Self, Registration::new().on_tick())) }
|
||||
fn tick(&mut self, _: u64) {
|
||||
render::set_models(&[render::ModelInstance { id: 1, model: "airdef:lancet".into(), x: 0.5, y: 110.5, z: 0.5, rotation: (0.,0.,0.,1.), scale: 1., glow: false }]);
|
||||
}
|
||||
}
|
||||
horizon_mod_sdk::export_mod!(Preview);
|
||||
Reference in New Issue
Block a user