-------------------------------------------------------------------------------- Description: Removes any scaling from a matrix. Arguments: out - return matrix without scaling in - input matrix with scaling SeeAlso: Matrix --------------------------------------------------------------------------------
| 681 | // Matrix |
| 682 | // -------------------------------------------------------------------------------- |
| 683 | Matrix* TriMatrixRemoveScaling( Matrix* out, const Matrix* in ) |
| 684 | { |
| 685 | if( out != in ) |
| 686 | { |
| 687 | *out = *in; |
| 688 | } |
| 689 | out->GetX() = Normalize( out->GetX() ); |
| 690 | out->GetY() = Normalize( out->GetY() ); |
| 691 | out->GetZ() = Normalize( out->GetZ() ); |
| 692 | return out; |
| 693 | } |
| 694 | |
| 695 | // -------------------------------------------------------------------------------- |
| 696 | // Description: |
no test coverage detected