On 2/12/19 18:25, Henri Verbeet wrote:
On Tue, 12 Feb 2019 at 15:50, Paul Gofman gofmanp@gmail.com wrote:
- static const float tri[][3] =
- {
{-1.0f, -1.0f, 0.0f},
{-1.0f, 1.0f, 0.0f},
{ 1.0f, 1.0f, 0.0f},
- };
It's pretty minor, but we have "struct vec3" for this kind of thing.
I would change this declaration but keep 'float *data' to avoid component wise comparisons and test output. Or do you think it is better to use vec3 for that too?