Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_lineart.h
- This file was added.
| /* SPDX-License-Identifier: GPL-2.0-or-later | |||||
| * Copyright 2018 Blender Foundation. All rights reserved. */ | |||||
| /** \file | |||||
| * \ingroup depsgraph | |||||
| * | |||||
| * Physics utilities for effectors and collision. | |||||
| */ | |||||
| #pragma once | |||||
| #include "DEG_depsgraph.h" | |||||
| struct DepsNodeHandle; | |||||
| struct Depsgraph; | |||||
| struct EffectorWeights; | |||||
| struct ListBase; | |||||
| struct Object; | |||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif | |||||
| /* Get collision/effector relations from collection or entire scene. These | |||||
| * created during depsgraph relations building and should only be accessed | |||||
| * during evaluation. */ | |||||
| struct ListBase *DEG_get_lineart_relations(const struct Depsgraph *graph); | |||||
| void DEG_add_lineart_relations(struct DepsNodeHandle *handle, | |||||
| struct Collection *collection, | |||||
| bool allow_duplicates, | |||||
| const char *name); | |||||
| #ifdef __cplusplus | |||||
| } /* extern "C" */ | |||||
| #endif | |||||