diff options
author | Harvey Harrison <[email protected]> | 2012-01-14 18:35:52 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-01-14 19:47:14 -0800 |
commit | ab4f30f03edf3da4215e7d0a22c8d5d0ddc34309 (patch) | |
tree | 98c1f7eb445dd2d2f19436beb1758337d89d3073 /src/classes/win32 | |
parent | 5c236bf1e0129a60e71ad576291686734354d546 (diff) |
j3dcore: take advantage of the BoundingBox(null) constructor to create an empty bounds
The following pattern:
BoundingBox temp = new BoundingBox();
temp.setLower(1.0, 1.0, 1.0);
temp.setUpper(-1.0, -1.0, -1.0);
Incurs 3 calls to updateBoundsStates internally (construction and each setter),
while calling with a null argument needs 0 calls, and zero floating-point comparisons.
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/win32')
0 files changed, 0 insertions, 0 deletions