diff --git a/include/assimp/material.inl b/include/assimp/material.inl index 0070185af..b05d6af6c 100644 --- a/include/assimp/material.inl +++ b/include/assimp/material.inl @@ -49,8 +49,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_MATERIAL_INL_INC #define AI_MATERIAL_INL_INC -#include - // --------------------------------------------------------------------------- inline aiPropertyTypeInfo ai_real_to_property_type_info(float) { diff --git a/include/assimp/matrix4x4.inl b/include/assimp/matrix4x4.inl index 484fbbddb..19e684917 100644 --- a/include/assimp/matrix4x4.inl +++ b/include/assimp/matrix4x4.inl @@ -441,7 +441,7 @@ void aiMatrix4x4t::Decompose(aiVector3t& pScaling, aiVector3t(); + const TReal epsilon = Assimp::Math::getEpsilon(); pRotation.y = std::asin(-vCols[0].z);// D. Angle around oY.