| 712 | } |
| 713 | |
| 714 | F32 WaterBlock::getSurfaceHeight( const Point2F &pos ) const |
| 715 | { |
| 716 | if ( !mWorldBox.isContained( pos ) ) |
| 717 | return -1.0f; |
| 718 | |
| 719 | return getPosition().z; |
| 720 | } |
| 721 | |
| 722 | void WaterBlock::_getWaterPlane( const Point3F &camPos, PlaneF &outPlane, Point3F &outPos ) |
| 723 | { |
nothing calls this directly
no test coverage detected