* Use .empty() and .data() * Use nullptr instead of 0 * No else after return * Simple class member initialization * Add override for virtual methods * Include C++ instead of C headers * Remove some unused includes * Use default constructors * Always use braces * Consistent names in definition and declaration * Change typedef to using Pull Request: https://projects.blender.org/blender/blender/pulls/132361
19 lines
453 B
C
19 lines
453 B
C
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
#pragma once
|
|
|
|
#include "RNA_blender_cpp.hh"
|
|
|
|
#include "util/types.h"
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
void point_density_texture_space(BL::Depsgraph &b_depsgraph,
|
|
BL::ShaderNodeTexPointDensity &b_point_density_node,
|
|
float3 &loc,
|
|
float3 &size);
|
|
|
|
CCL_NAMESPACE_END
|