This makes the code reusable in a few more places, particularly by tests for a new boolean implementation also defined in the geometry module. It also makes the way some primitives are reused among different nodes a bit clearer. Pull Request: https://projects.blender.org/blender/blender/pulls/112255
14 lines
280 B
C++
14 lines
280 B
C++
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include "BLI_math_vector_types.hh"
|
|
|
|
namespace blender::geometry {
|
|
|
|
Mesh *create_line_mesh(float3 start, float3 delta, int count);
|
|
|
|
} // namespace blender::geometry
|