cad-editor/src/modules/view/orbit.rs

10 lines
326 B
Rust
Raw Normal View History

2026-03-22 14:56:27 +03:00
use crate::modules::{IconKind, ModuleEvent, ToolDef};
pub const ICON: IconKind = IconKind::Svg(include_bytes!("../../../assets/icons/orbit.svg"));
2026-03-22 14:56:27 +03:00
pub fn tool() -> ToolDef {
2026-05-12 10:36:15 +03:00
ToolDef {
id: "3DORBIT",
label: "3D Orbit",
icon: ICON,
event: ModuleEvent::Command("3DORBIT".to_string()),
}
2026-03-22 14:56:27 +03:00
}