Tag Info

Hot answers tagged

1

The simplest thing to do is make a copy of the Node * container before iterating over it. void Layer::update() { auto children = _children; for(auto child : children) { child->update(); } } If you want to avoid this copy, you can defer the additions and removals until after the update loop finishes. std::vector<Node *> ...


1

I want to update this considering the new shader stages recently added. Someone more familiar can probably be more thorough, but: such as a car's front end destroyed when it hits a wall? The new stages allow you to more-cheaply enhance low-poly models. You could generate an entire vehicle from a single cube's-worth of vertices (8). Given a relatively ...



Only top voted, non community-wiki answers of a minimum length are eligible