Blender  V3.3
BKE_anim_path.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 #pragma once
4 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 struct CurveCache;
14 struct Object;
15 
16 /* ---------------------------------------------------- */
17 /* Curve Paths */
18 
19 int BKE_anim_path_get_array_size(const struct CurveCache *curve_cache);
20 float BKE_anim_path_get_length(const struct CurveCache *curve_cache);
21 
27 void BKE_anim_path_calc_data(struct Object *ob);
28 
37 bool BKE_where_on_path(const struct Object *ob,
38  float ctime,
39  float r_vec[4],
40  float r_dir[3],
41  float r_quat[4],
42  float *r_radius,
43  float *r_weight);
44 
45 #ifdef __cplusplus
46 }
47 #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.c:56