Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a configuration to control the visibility of subgizmos per axis #57

Closed
mrok-gmx-de opened this issue May 8, 2024 · 1 comment
Closed

Comments

@mrok-gmx-de
Copy link

Sometimes it can be helpful to limit the sub-gizmos displayed to specific axes. Therefore it would be nice to add a configuration that controls each individual sub-gizmo. A corresponding structure should look like this:

pub struct AxisConfig {
    pub x: bool,
    pub y: bool,
    pub z: bool,
    pub view: bool,
}

pub struct GizmoVisibility {
    // translation helper
    pub translation_arrow: AxisConfig,
    pub translation_plane: AxisConfig,
    // scaling helper
    pub scaling_arrow: AxisConfig,
    pub scaling_plane: AxisConfig,
    // Rotation helper
    pub rotation_arc: AxisConfig,
    pub rotation_arc_ball: bool,
}
@urholaukkarinen
Copy link
Owner

This is now supported in version 0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants