Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sort.h « bvh « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3081e821593a0d28d146c5d09d10074cb39d348c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: Apache-2.0
 * Adapted from code copyright 2009-2010 NVIDIA Corporation
 * Modifications Copyright 2011-2022 Blender Foundation. */

#ifndef __BVH_SORT_H__
#define __BVH_SORT_H__

#include <cstddef>

CCL_NAMESPACE_BEGIN

class BVHReference;
class BVHUnaligned;
struct Transform;

void bvh_reference_sort(int start,
                        int end,
                        BVHReference *data,
                        int dim,
                        const BVHUnaligned *unaligned_heuristic = NULL,
                        const Transform *aligned_space = NULL);

CCL_NAMESPACE_END

#endif /* __BVH_SORT_H__ */