Declaring const matrix/vector in nalgebra-glm?
Open
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.