diff options
Diffstat (limited to 'modules/fbx/fbx_parser')
| -rw-r--r-- | modules/fbx/fbx_parser/ByteSwapper.h | 2 | ||||
| -rw-r--r-- | modules/fbx/fbx_parser/FBXDocument.cpp | 2 | ||||
| -rw-r--r-- | modules/fbx/fbx_parser/FBXParser.cpp | 4 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/modules/fbx/fbx_parser/ByteSwapper.h b/modules/fbx/fbx_parser/ByteSwapper.h index 5c16383974..08d38147d5 100644 --- a/modules/fbx/fbx_parser/ByteSwapper.h +++ b/modules/fbx/fbx_parser/ByteSwapper.h @@ -70,7 +70,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  ----------------------------------------------------------------------  */ -/** @file Helper class tp perform various byte oder swappings +/** @file Helper class tp perform various byte order swappings     (e.g. little to big endian) */  #ifndef BYTE_SWAPPER_H  #define BYTE_SWAPPER_H diff --git a/modules/fbx/fbx_parser/FBXDocument.cpp b/modules/fbx/fbx_parser/FBXDocument.cpp index 89c69d2ee8..92c62e68b5 100644 --- a/modules/fbx/fbx_parser/FBXDocument.cpp +++ b/modules/fbx/fbx_parser/FBXDocument.cpp @@ -198,7 +198,7 @@ ObjectPtr LazyObject::LoadObject() {  			object.reset(new ModelLimbNode(id, element, doc, name));  		} else if (strcmp(classtag.c_str(), "IKEffector") && strcmp(classtag.c_str(), "FKEffector")) { -			// FK and IK effectors are not supporte +			// FK and IK effectors are not supported.  			object.reset(new Model(id, element, doc, name));  		}  	} else if (!strncmp(obtype, "Material", length)) { diff --git a/modules/fbx/fbx_parser/FBXParser.cpp b/modules/fbx/fbx_parser/FBXParser.cpp index 163518d18f..d9ef025a16 100644 --- a/modules/fbx/fbx_parser/FBXParser.cpp +++ b/modules/fbx/fbx_parser/FBXParser.cpp @@ -575,7 +575,7 @@ void ReadBinaryDataArray(char type, uint32_t count, const char *&data, const cha  		std::copy(data, end, buff.begin());  	} else if (encmode == 1) {  		// zlib/deflate, next comes ZIP head (0x78 0x01) -		// see http://www.ietf.org/rfc/rfc1950.txt +		// see https://www.ietf.org/rfc/rfc1950.txt  		z_stream zstream;  		zstream.opaque = Z_NULL; @@ -1167,7 +1167,7 @@ Transform3D ReadMatrix(const ElementPtr element) {  	// clean values to prevent any IBM damage on inverse() / affine_inverse()  	for (float &value : values) { -		if (::Math::is_equal_approx(0, value)) { +		if (::Math::is_zero_approx(value)) {  			value = 0;  		}  	} |