public static AABB createMeshAABB( Mesh mesh )
	{
		Vector3f min = new Vector3f( 0, 0, 0 );
		Vector3f max = new Vector3f( 0, 0, 0 );
		for ( Triangle triangle : mesh.getTriangles() )
		{
			for ( int i = 0; i < 3; i++ )
			{
				Vector3f vector = triangle.getPoint( i + 1 );
				float posX = vector.getX();
				float posY = vector.getY();
				float posZ = vector.getZ();
				if ( posX > max.getX() )
					max.setX( posX );
				if ( posY > max.getY() )
					max.setY( posY );
				if ( posZ > max.getZ() )
					max.setZ( posZ );
				if ( posX < min.getX() )
					min.setX( posX );
				if ( posY < min.getY() )
					min.setY( posY );
				if ( posZ < min.getZ() )
					min.setZ( posZ );
			}
		}
		return new AABB( min, max );
	}