| 55 | } |
| 56 | |
| 57 | void DirectionWidget::updateArrow( const Arrow& arrow ) |
| 58 | { |
| 59 | if ( !directionObj_ ) |
| 60 | return assert( false ); |
| 61 | |
| 62 | directionObj_->setWorldXf( AffineXf3f( arrow.length * Matrix3f::rotation( Vector3f::plusZ(), arrow.dir ), arrow.base ) ); |
| 63 | } |
| 64 | |
| 65 | void DirectionWidget::updateLocalDirection( const Vector3f& dir ) |
| 66 | { |
nothing calls this directly
no test coverage detected