2
0
Kim Kulling 6 жил өмнө
parent
commit
f5dcd5060f

+ 0 - 2
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 <assimp/MathFunctions.h>
-
 // ---------------------------------------------------------------------------
 inline aiPropertyTypeInfo ai_real_to_property_type_info(float)
 {

+ 1 - 1
include/assimp/matrix4x4.inl

@@ -441,7 +441,7 @@ void aiMatrix4x4t<TReal>::Decompose(aiVector3t<TReal>& pScaling, aiVector3t<TRea
 	*/
 
 	// Use a small epsilon to solve floating-point inaccuracies
-    const TReal epsilon = Math::getEpsilon<TReal>();
+    const TReal epsilon = Assimp::Math::getEpsilon<TReal>();
 
 	pRotation.y  = std::asin(-vCols[0].z);// D. Angle around oY.