Blender
V3.3
source
blender
blenkernel
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
BKE_where_on_path
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)
BKE_anim_path_get_array_size
int BKE_anim_path_get_array_size(const struct CurveCache *curve_cache)
BKE_anim_path_get_length
float BKE_anim_path_get_length(const struct CurveCache *curve_cache)
BKE_anim_path_calc_data
void BKE_anim_path_calc_data(struct Object *ob)
Definition:
anim_path.c:56
CurveCache
Definition:
BKE_curve.h:32
Object
Definition:
DNA_object_types.h:242
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1