Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
37 lines
827 B
C++
37 lines
827 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup bke
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Collection;
|
|
struct GeometrySet;
|
|
struct Object;
|
|
|
|
/* Each geometry component has a specific type. The type determines what kind of data the component
|
|
* stores. Functions modifying a geometry will usually just modify a subset of the component types.
|
|
*/
|
|
typedef enum GeometryComponentType {
|
|
GEO_COMPONENT_TYPE_MESH = 0,
|
|
GEO_COMPONENT_TYPE_POINT_CLOUD = 1,
|
|
GEO_COMPONENT_TYPE_INSTANCES = 2,
|
|
GEO_COMPONENT_TYPE_VOLUME = 3,
|
|
GEO_COMPONENT_TYPE_CURVE = 4,
|
|
} GeometryComponentType;
|
|
|
|
#define GEO_COMPONENT_TYPE_ENUM_SIZE 5
|
|
|
|
void BKE_geometry_set_free(struct GeometrySet *geometry_set);
|
|
|
|
bool BKE_object_has_geometry_set_instances(const struct Object *ob);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|