Skip to content

same question #2

@XuankeShi

Description

@XuankeShi

you can try the data:
std::vector ver = {
-0.5f, 1.f, 0.f,
0.5f, 1.f, 0.f,
1.f, 0.f, 0.f,
0.5f, -1.f, 0.f,
-0.5f, -1.f, 0.f,
-1.f, 0.f, 0.f,
0.f, 0.f, 0.f
};
std::vector tri = {
1, 2, 7,
7, 2 ,3,
3, 4, 7,
7, 4, 5,
7, 5, 6,
7, 6, 1
};
for(auto &a : tri) {
a--;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions