Blender  V2.93
bvh_sort.h
Go to the documentation of this file.
1 /*
2  * Adapted from code copyright 2009-2010 NVIDIA Corporation
3  * Modifications Copyright 2011, Blender Foundation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef __BVH_SORT_H__
19 #define __BVH_SORT_H__
20 
21 #include <cstddef>
22 
24 
25 class BVHReference;
26 class BVHUnaligned;
27 struct Transform;
28 
29 void bvh_reference_sort(int start,
30  int end,
32  int dim,
33  const BVHUnaligned *unaligned_heuristic = NULL,
34  const Transform *aligned_space = NULL);
35 
37 
38 #endif /* __BVH_SORT_H__ */
void bvh_reference_sort(int start, int end, BVHReference *data, int dim, const BVHUnaligned *unaligned_heuristic=NULL, const Transform *aligned_space=NULL)
Definition: bvh_sort.cpp:164
#define CCL_NAMESPACE_END