| 95 | } |
| 96 | |
| 97 | void ConeObject::setBaseRadius( float radius, ViewportId id /*= {}*/ ) |
| 98 | { |
| 99 | auto direction = getDirection( id ); |
| 100 | auto currentXf = xf( id ); |
| 101 | auto length = getHeight( id ); |
| 102 | currentXf.A = getConeRotationMatrix( direction ) * Matrix3f::scale( radius, radius, length ); |
| 103 | setXf( currentXf, id ); |
| 104 | } |
| 105 | |
| 106 | Vector3f ConeObject::getBasePoint( ViewportId id /*= {} */ ) const |
| 107 | { |
no test coverage detected