void On3D() { wireframeRectangle.Clear(); ch3.DataCloud = mDataCloud; ch3.AlgorithmRandomIncremental(); ch3.TrimDataCloudIfNecessary(); //obb3.AlgorithmOptimized(); //Debug.Log("@ OBB3 Optimized calculation took: " + TimeMeasure.InSeconds(obb3.AlgorithmAABB).ToString(Const.Decimal)); //Debug.Log("@ Volume calculated: " + obb3.Volume); //Debug.Log("@ OBB3 Optimized calculation took: " + TimeMeasure.InSeconds(obb3.AlgorithmBruteQuaternion).ToString(Const.Decimal)); //Debug.Log("@ Volume calculated: " + obb3.Volume); Debug.Log("@ OBB3 Optimized calculation took: " + TimeMeasure.InSeconds(obb3.AlgorithmBruteDirection).ToString(Const.Decimal)); Debug.Log("@ Volume calculated: " + obb3.Volume); //Debug.Log("@ OBB3 Optimized calculation took: " + TimeMeasure.InSeconds(obb3.AlgorithmHullFaces).ToString(Const.Decimal)); //Debug.Log("@ Volume calculated: " + obb3.Volume); //Debug.Log("@ OBB3 Optimized calculation took: " + TimeMeasure.InSeconds(obb3.AlgorithmOptimized).ToString(Const.Decimal)); //Debug.Log("@ Volume calculated: " + obb3.Volume); displayDataCloud.dataCloud = mDataCloud; meshFilter.mesh = ch3.GetMesh(); wireframeCube.FromBox(obb3.Box); }