// Short-circuit the identity transform void CC3Matrix::scaleBy( const CC3Vector& aScale ) { if ( !aScale.equals( CC3Vector::kCC3VectorUnitCube ) ) { implScaleBy( aScale ); m_isIdentity = false; m_isRigid = false; } }
void CC3Matrix::populateFromScale( const CC3Vector& aScale ) { if ( aScale.equals( CC3Vector::kCC3VectorUnitCube )) { populateIdentity(); } else { implPopulateFromScale( aScale ); m_isIdentity = false; m_isRigid = false; } }