Axiom.SceneManagers.Bsp.Quake3Level.ReadPlanes C# (CSharp) Метод

ReadPlanes() приватный Метод

private ReadPlanes ( InternalBspLump lump, BinaryReader reader ) : void
lump InternalBspLump
reader System.IO.BinaryReader
Результат void
		private void ReadPlanes( InternalBspLump lump, BinaryReader reader )
		{
			reader.BaseStream.Seek( lump.offset, SeekOrigin.Begin );

			for ( int i = 0; i < planes.Length; i++ )
			{
				planes[ i ] = new InternalBspPlane();
				planes[ i ].normal = new float[] { reader.ReadSingle(), reader.ReadSingle(), reader.ReadSingle() };
				planes[ i ].distance = reader.ReadSingle();

				TransformPlane( planes[ i ].normal, ref planes[ i ].distance );
			}
		}