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

Support for Structures of Arrays #66

Open
CharlesSamson opened this issue Jan 9, 2025 · 1 comment
Open

Support for Structures of Arrays #66

CharlesSamson opened this issue Jan 9, 2025 · 1 comment

Comments

@CharlesSamson
Copy link

Hi,
I'm using Structures of Arrays as a point ranges. It would be great if this kind of structure could be supported.

e.g. Simplified SoA as point container :

struct Points
{
    std::vector<float> x;
    std::vector<float> y;
};

Thanks

@awulkiew
Copy link
Owner

awulkiew commented Jan 9, 2025

I think you could write points.x;points.y. Does that help?

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

No branches or pull requests

2 participants