Axiom.Serialization.MeshSerializerImpl.ReadBoundsInfo C# (CSharp) 메소드

ReadBoundsInfo() 보호된 메소드

protected ReadBoundsInfo ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void
		protected virtual void ReadBoundsInfo( BinaryReader reader )
		{
			// min abb extent
			Vector3 min = ReadVector3( reader );

			// max abb extent
			Vector3 max = ReadVector3( reader );

			// set the mesh's aabb
			mesh.BoundingBox = new AxisAlignedBox( min, max );

			// set the bounding sphere radius
			mesh.BoundingSphereRadius = ReadFloat( reader );
		}