Blender
V5.3
source
blender
blenlib
BLI_voxel.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
10
11
namespace
blender
{
12
14
#define BLI_VOXEL_INDEX(x, y, z, res) \
15
((int64_t)(x) + (int64_t)(y) * (int64_t)(res)[0] + \
16
(int64_t)(z) * (int64_t)(res)[0] * (int64_t)(res)[1])
17
18
/* All input coordinates must be in bounding box 0.0 - 1.0. */
19
20
float
BLI_voxel_sample_trilinear
(
const
float
*
data
,
const
int
res[3],
const
float
co[3]);
21
22
}
// namespace blender
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::BLI_voxel_sample_trilinear
float BLI_voxel_sample_trilinear(const float *data, const int res[3], const float co[3])
Definition
voxel.cc:46
blender::data
BMesh const char void * data
Definition
bmesh_iterators_inline.hh:39
Generated on
for Blender by
doxygen
1.18.0