Maximum coordinates of all vertices on each axes

This is a corner of the bounding box.

Property definitions

gamnit :: model_dimensions $ Model :: max=
	# Maximum coordinates of all vertices on each axes
	#
	# This is a corner of the bounding box.
	var max: Point3d[Float] is lazy do
		var mx = -inf
		var my = -inf
		var mz = -inf
		for leaf in leaves do
			var lm = leaf.mesh.max
			mx = mx.max(lm.x)
			my = my.max(lm.y)
			mz = mz.max(lm.z)
		end
		return new Point3d[Float](mx, my, mz)
	end
lib/gamnit/depth/model_dimensions.nit:44,2--58,4