//------------------------------------------------------------------------------ // setComputematrix4 () - for Angle types //------------------------------------------------------------------------------ bool Transform::setComputematrix4(const Angle* const sc4obj) { bool ok = true; if (nv == 0 && isClassType(typeid(Rotation))) { Radians rad; v[nv++] = static_cast<LCreal>(rad.convert(*sc4obj)); computeMatrix(); } else { std::cerr << "Transform::setComputematrix4: Invalid Angle type or input" << std::endl; ok = false; } return ok; }