| 247 | //----------------------------------------------------------------------------- |
| 248 | |
| 249 | F32 Box3F::getGreatestDiagonalLength() const |
| 250 | { |
| 251 | F32 maxDiagonalsLen = ( computeVertex( FarTopRight ) - computeVertex( NearBottomLeft ) ).len(); |
| 252 | |
| 253 | maxDiagonalsLen = getMax( maxDiagonalsLen, ( computeVertex( FarTopLeft ) - computeVertex( NearBottomRight ) ).len() ); |
| 254 | maxDiagonalsLen = getMax( maxDiagonalsLen, ( computeVertex( FarBottomLeft ) - computeVertex( NearTopRight ) ).len() ); |
| 255 | maxDiagonalsLen = getMax( maxDiagonalsLen, ( computeVertex( FarBottomRight ) - computeVertex( NearTopLeft ) ).len() ); |
| 256 | |
| 257 | return maxDiagonalsLen; |
| 258 | } |
| 259 | |
| 260 | //----------------------------------------------------------------------------- |
| 261 |
no test coverage detected