diff options
author | Harvey Harrison <[email protected]> | 2012-01-16 10:44:43 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-01-16 10:46:48 -0800 |
commit | 340456818fc9514428639bb154254af57e23cda4 (patch) | |
tree | 4114b979216eea2b3210dd66672ca7a3ce1c175e /release-info | |
parent | 0dfc49a2042105d515d4177f31a3ef225c409ceb (diff) |
j3dcore: small optimization in BoundingSphere/BoundingBox::transform(Bounds, Transform3d)
When the type of Bounds being passed matches the current Object, this method can
simply set the state and then transform the current object, avoid the need for
a temporary object in BoundingBox's case. BoundingSphere was already open-coding
this pattern, make it explicit.
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'release-info')
0 files changed, 0 insertions, 0 deletions