Skip to content

Feat: Axis constraints#120

Merged
brenocq merged 6 commits into
mainfrom
feat/axis-constraints
May 26, 2025
Merged

Feat: Axis constraints#120
brenocq merged 6 commits into
mainfrom
feat/axis-constraints

Conversation

@brenocq
Copy link
Copy Markdown
Owner

@brenocq brenocq commented May 26, 2025

Closes #119

Just like ImPlot, ImPlot3D should support axis constraints, both range and zoom constraints. The following APIs were implemented:

  • ImPlot3D::SetupAxisLimitsConstraints
  • ImPlot3D::SetupAxisZoomConstraints

A new axis flag was also added: ImPlot3DAxisFlags_PanStretch

A new demo was added (3D equivalent of ImPlot's demo)

Peek.2025-05-26.12-19.mp4

@brenocq brenocq self-assigned this May 26, 2025
@brenocq brenocq added the type:feat New feature or request label May 26, 2025
@brenocq brenocq linked an issue May 26, 2025 that may be closed by this pull request
4 tasks
@brenocq brenocq added the prio:medium Medium priority label May 26, 2025
@github-actions github-actions Bot added the status:review The task is under review label May 26, 2025
@brenocq brenocq merged commit d963e2b into main May 26, 2025
9 checks passed
@brenocq brenocq deleted the feat/axis-constraints branch May 26, 2025 11:06
@github-actions github-actions Bot added status:done Task completed successfully and removed status:review The task is under review labels May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prio:medium Medium priority status:done Task completed successfully type:feat New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Axis constraints

1 participant