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 "color" option type #1762

Open
mwestphal opened this issue Dec 6, 2024 · 1 comment
Open

Add "color" option type #1762

mwestphal opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
help wanted Please help with this issue! source:libf3d type:enhancement New feature or request
Milestone

Comments

@mwestphal
Copy link
Contributor

Is your feature request related to a problem? Please describe.
See #1570

F3D support many option with different option types, it would be beneficial to support a new "color" option type instead of relying on double vector. A color should obviously be stored in a double_vector of size 3.

Describe the solution you'd like

  • Add it to types.h with the correct API
  • Add a naive parse/format methods to options_tools.h.in
  • Use it for at least one option in options.json
  • Add testing in TestSDKOptions*
@mwestphal mwestphal mentioned this issue Dec 6, 2024
4 tasks
@mwestphal mwestphal added type:enhancement New feature or request source:libf3d labels Dec 6, 2024
@mwestphal mwestphal added this to F3D Dec 6, 2024
@salfakir
Copy link

salfakir commented Dec 6, 2024

Thanks for creating this issue

@mwestphal mwestphal added the help wanted Please help with this issue! label Dec 19, 2024
@mwestphal mwestphal added this to the 3.1.0 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Please help with this issue! source:libf3d type:enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants