Maximum coordinates of all vertices on each axes

This is a corner of the bounding box.

Property definitions

gamnit :: model_dimensions $ Mesh :: 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
		var i = 0
		while i < vertices.length do
			mx = mx.max(vertices[i])
			my = my.max(vertices[i+1])
			mz = mz.max(vertices[i+2])
			i += 3
		end
		return new Point3d[Float](mx, my, mz)
	end
lib/gamnit/depth/model_dimensions.nit:93,2--108,4