Blender V5.3
BLI_kdopbvh_test.cc File Reference
#include "testing/testing.h"
#include "MEM_guardedalloc.h"
#include "BLI_compiler_attrs.hh"
#include "BLI_kdopbvh.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rand_c.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::rng_v3_round (float *coords, int coords_len, RNG *rng, int round, float scale)
 blender::TEST (kdopbvh, Empty)
 blender::TEST (kdopbvh, Single)
static void blender::optimal_check_callback (void *userdata, int index, const float co[3], BVHTreeNearest *nearest)
static void blender::find_nearest_points_test (int points_len, float scale, int round, int random_seed, bool optimal=false)
 blender::TEST (kdopbvh, FindNearest_1)
 blender::TEST (kdopbvh, FindNearest_2)
 blender::TEST (kdopbvh, FindNearest_500)
 blender::TEST (kdopbvh, OptimalFindNearest_1)
 blender::TEST (kdopbvh, OptimalFindNearest_2)
 blender::TEST (kdopbvh, OptimalFindNearest_500)