fix(model): correct primitive creation and grips

This commit is contained in:
Hakan Seven committed 2026-08-12 00:03:27 +03:00
1 parent 59ca0f693f
commit c4dfa7567d
13 files changed
+353 -84

No files matched your search

+2
View File
@@ -105,6 +105,8 @@ pub struct GripDef {
/// along its segment. `None` for shapes that don't need rotation
/// (Square, Triangle in non-directional contexts).
pub dir: Option<[f32; 2]>,
/// World-space axis that constrains this grip's drag.
pub axis: Option<glam::DVec3>,
}
/// How to apply a grip drag result.