Jak zrobiłem coś takiego w Figures.h:
glm::vec3 *position = new glm::vec3(0.0f, 0.0f, 0.0f);
A następnie próbowałem wywołać oś "y" z tego vectora
*position.y
To wywala mi 2 błędy:
expression must have class type
left of '.y' must have class/struct/union