Loading files
use crate::wasm;
use glam::DVec3;
pub struct Edge {
pub(crate) inner: wasm::Edge,
}
impl AsRef<Edge> for Edge {
fn as_ref(&self) -> &Edge {
self
}
}
impl Edge {
pub fn segment(p1: DVec3, p2: DVec3) -> Self {
let inner = wasm::Edge::segment(p1.into(), p2.into());
Edge { inner }
}
}
32758df23This file is pinned to the selected release. Download the original to open it in your design tool.