| 26 | } |
| 27 | |
| 28 | void LineObject::setDirection( const Vector3f& normal, ViewportId id /*= {}*/ ) |
| 29 | { |
| 30 | auto currentXf = xf( id ); |
| 31 | currentXf.A = Matrix3f::rotation( Vector3f::plusX(), normal ) * s_.get( id ); |
| 32 | setXf( currentXf, id ); |
| 33 | } |
| 34 | |
| 35 | void LineObject::setCenter( const Vector3f& center, ViewportId id /*= {}*/ ) |
| 36 | { |
no test coverage detected