Пример #1
0
static void _traverse_count_local_nodes (VsgPRTree3dNodeInfo *node_info,
                                         gint *count)
{
  if (VSG_PRTREE3D_NODE_INFO_IS_LOCAL (node_info))
    {
      (*count) ++;
    }
}
Пример #2
0
static void _local_regions_count (VsgPRTree3dNodeInfo *node_info, gint *cnt)
{
  if (VSG_PRTREE3D_NODE_INFO_IS_LOCAL (node_info) || rk == 0)
    *cnt += g_slist_length (node_info->region_list);
}