16 #include "animChannel.h"
18 #include "compose_matrix.h"
22 #pragma implementation
33 if (decompose_matrix(value, scale, shear, hpr, translate)) {
35 if (IS_NEARLY_EQUAL(scale[0], scale[1]) &&
36 IS_NEARLY_EQUAL(scale[1], scale[2])) {
37 out <<
" scale " << scale[0];
39 out <<
" scale " << scale;
43 out <<
" shear " << shear;
47 out <<
" hpr " << hpr;
51 out <<
" trans " << translate;
55 out <<
" mat " << value;
This is the base class for all three-component vectors and points.
static void output_value(ostream &out, const ValueType &value)
Outputs a very brief description of a matrix.
This is a 4-by-4 transform matrix.
bool almost_equal(const LVecBase3f &other, float threshold) const
Returns true if two vectors are memberwise equal within a specified tolerance.