random_device rand_dev ; static std::mt19937 mt( rand_dev() ) ; static std::uniform_int_distribution<int> distr( 100, 999 ) ; static int init = [&]() { for( int& v : a ) v = distr(mt) ; return 1 ; }() ; (void)init ; // to suppress unused variable diagnostic ...
I'm guessing the only way to do this would be perhaps to initiate a Sphere object within spaceObjects but then there's no point in that since the whole point of this was to only have one initialization. The reason I suspect this is an OpenGL issue (state machine type problem) is that...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...