examples/FBXLoader.js
function ( NormalNode ) {

			var mappingType = NormalNode.MappingInformationType;
			var referenceType = NormalNode.ReferenceInformationType;
			var buffer = NormalNode.Normals.a;
			var indexBuffer = [];
			if ( referenceType === 'IndexToDirect' ) {

				if ( 'NormalIndex' in NormalNode ) {

					indexBuffer = NormalNode.NormalIndex.a;

				} else if ( 'NormalsIndex' in NormalNode ) {

					indexBuffer = NormalNode.NormalsIndex.a;

				}

			}

			return {
				dataSize: 3,
				buffer: buffer,
				indices: indexBuffer,
				mappingType: mappingType,
				referenceType: referenceType
			};

		}
function ( NormalNode ) {

			var mappingType = NormalNode.MappingInformationType;
			var referenceType = NormalNode.ReferenceInformationType;
			var buffer = NormalNode.Normals.a;
			var indexBuffer = [];
			if ( referenceType === 'IndexToDirect' ) {

				if ( 'NormalIndex' in NormalNode ) {

					indexBuffer = NormalNode.NormalIndex.a;

				} else if ( 'NormalsIndex' in NormalNode ) {

					indexBuffer = NormalNode.NormalsIndex.a;

				}

			}

			return {
				dataSize: 3,
				buffer: buffer,
				indices: indexBuffer,
				mappingType: mappingType,
				referenceType: referenceType
			};

		}
function ( NormalNode ) { var mappingType = NormalNode . MappingInformationType ; var referenceType = NormalNode . ReferenceInformationType ; var buffer = NormalNode . Normals . a ; var indexBuffer = [ ] ; if ( referenceType === 'IndexToDirect' ) { if ( 'NormalIndex' in NormalNode ) { indexBuffer = NormalNode . NormalIndex . a ; } else if ( 'NormalsIndex' in NormalNode ) { indexBuffer = NormalNode . NormalsIndex . a ; } } return { dataSize : 3 , buffer : buffer , indices : indexBuffer , mappingType : mappingType , referenceType : referenceType } ; }
Parse normal from FBXTree.Objects.Geometry.LayerElementNormal if it exists
Parse normal from FBXTree . Objects . Geometry . LayerElementNormal if it exists