aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-01-16 10:44:43 -0800
committerHarvey Harrison <[email protected]>2012-01-16 10:46:48 -0800
commit340456818fc9514428639bb154254af57e23cda4 (patch)
tree4114b979216eea2b3210dd66672ca7a3ce1c175e /src/native/ogl
parent0dfc49a2042105d515d4177f31a3ef225c409ceb (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 'src/native/ogl')
0 files changed, 0 insertions, 0 deletions