You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say i want to do following:
const DEFAULT_WORLD_UP: glm::Vec3 = glm::vec3(0.0, 1.0, 0.0);
Then whenever i use it i get "calls in constants are limited to constant functions, tuple structs and tuple variants"
Is there any way besides declaring it on runtime?
The text was updated successfully, but these errors were encountered:
Let's say i want to do following:
const DEFAULT_WORLD_UP: glm::Vec3 = glm::vec3(0.0, 1.0, 0.0);
Then whenever i use it i get "calls in constants are limited to constant functions, tuple structs and tuple variants"
Is there any way besides declaring it on runtime?
The text was updated successfully, but these errors were encountered: