Skip to content
Snippets Groups Projects
Commit a80cde9f authored by Christoph Pohl's avatar Christoph Pohl
Browse files

Added scaling of a oobb for each axis independently

parent 27c63e7e
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,9 @@ namespace simox
return _d(0) * _d(1) * _d(2);
}
void scale(const vector_t& factors) {
_d = _d.cwiseProduct(factors);
}
void scale(float_t factor)
{
_d *= factor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment