Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
void CollisionDetection::getMinimumAreaEnclosingRectangle(float *position, float *oldIntervals){ float newintervals[6] = { position[0]-0.5f, position[0]+0.5f, position[1]-0.5f, position[1]+0.5f, position[2]-0.5f, position[2]+0.5f }; for(size_t i = 0; i < 6; ++i) oldIntervals[i] = newintervals[i]; }
From the Design Piracy series on my blog: