Blender
V2.93
intern
cycles
bvh
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
23
CCL_NAMESPACE_BEGIN
24
25
class
BVHReference
;
26
class
BVHUnaligned
;
27
struct
Transform
;
28
29
void
bvh_reference_sort
(
int
start,
30
int
end,
31
BVHReference
*
data
,
32
int
dim,
33
const
BVHUnaligned
*unaligned_heuristic =
NULL
,
34
const
Transform
*aligned_space =
NULL
);
35
36
CCL_NAMESPACE_END
37
38
#endif
/* __BVH_SORT_H__ */
NULL
return NULL
Definition:
bmesh_operator_api_inline.h:224
data
data
Definition:
bmesh_operator_api_inline.h:176
bvh_reference_sort
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
BVHReference
Definition:
bvh_params.h:161
BVHUnaligned
Definition:
bvh_unaligned.h:32
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition:
kernel_compat_cuda.h:23
CCL_NAMESPACE_BEGIN
Definition:
blender_python.cpp:54
Transform
Definition:
util_transform.h:31
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1