| 45 | //----------------------------------------------------------------------------- |
| 46 | |
| 47 | void OrientedBox3F::set( const MatrixF& transform, const Point3F& extents ) |
| 48 | { |
| 49 | mCenter = transform.getPosition(); |
| 50 | |
| 51 | mAxes[ RightVector ] = transform.getRightVector(); |
| 52 | mAxes[ ForwardVector ] = transform.getForwardVector(); |
| 53 | mAxes[ UpVector ] = transform.getUpVector(); |
| 54 | |
| 55 | mHalfExtents = extents * 0.5f; |
| 56 | |
| 57 | _initPoints(); |
| 58 | } |
| 59 | |
| 60 | //----------------------------------------------------------------------------- |
| 61 |
nothing calls this directly
no test coverage detected