Ejemplo n.º 1
0
        public void SelectedFacesBoundingBox(ref AxisAlignedBox3f box)
        {
            StoredCommands sc  = new StoredCommands();
            uint           key = sc.AppendQueryCommand_GetSelectedFacesBoundingBox();

            ExecuteCommands(sc);
            floatArray min = new floatArray(3), max = new floatArray(3);

            sc.GetQueryResult_GetSelectedFacesBoundingBox(key, min.cast(), max.cast());
            box.Min.Set(min); box.Max.Set(max);
        }