Static constant members in a class C++

前端 未结 2 1836
[愿得一人]
[愿得一人] 2021-01-28 16:08

How do I declare static constant values in C++? I want to be able to get the constant Vector3::Xaxis, but I should not be able to change it.

I\'ve seen the following cod

2条回答
提交回复
热议问题