Blender V4.3
BKE_anim_path.h
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#pragma once
5
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14struct CurveCache;
15struct Object;
16
17/* ---------------------------------------------------- */
18/* Curve Paths */
19
20int BKE_anim_path_get_array_size(const struct CurveCache *curve_cache);
21float BKE_anim_path_get_length(const struct CurveCache *curve_cache);
22
28void BKE_anim_path_calc_data(struct Object *ob);
29
38bool BKE_where_on_path(const struct Object *ob,
39 float ctime,
40 float r_vec[4],
41 float r_dir[3],
42 float r_quat[4],
43 float *r_radius,
44 float *r_weight);
45
46#ifdef __cplusplus
47}
48#endif
bool BKE_where_on_path(const struct Object *ob, float ctime, float r_vec[4], float r_dir[3], float r_quat[4], float *r_radius, float *r_weight)
int BKE_anim_path_get_array_size(const struct CurveCache *curve_cache)
float BKE_anim_path_get_length(const struct CurveCache *curve_cache)
void BKE_anim_path_calc_data(struct Object *ob)
Definition anim_path.cc:59