Implement increasing particle sizes. Refs #1.

This commit is contained in:
2018-04-03 19:55:30 +02:00
parent d4d4d6d431
commit ffea333609
5 changed files with 40 additions and 17 deletions

View File

@@ -33,8 +33,8 @@ namespace fmri
0, 2, 3,
1, 2, 3
};
constexpr const auto VERTICES_PER_NODE = NODE_SHAPE.size() / 3;
constexpr const auto FACES_PER_NODE = NODE_FACES.size() / 3;
static constexpr auto VERTICES_PER_NODE = std::tuple_size<typeof(NODE_SHAPE)>::value / 3;
static constexpr auto FACES_PER_NODE = std::tuple_size<typeof(NODE_FACES)>::value / 3;
void setVertexPositions(int vertexNo, float *destination);