Blender V4.3
particle_private.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2018 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15struct CurveMapping;
16
22 const float *par_co; /* float3 */
23 const float *par_vel; /* float3 */
24 const float *par_rot; /* float4 */
25 const float *par_orco; /* float3 */
26 const float *orco; /* float3 */
29
31 const float par_co[3],
32 const float par_vel[3],
33 const float par_rot[4],
34 float time,
35 float freq,
36 float shape,
37 float amplitude,
38 float flat,
39 short type,
40 short axis,
41 const float obmat[4][4],
42 int smooth_start);
44 const float par_co[3],
45 float time,
46 const float orco_offset[3],
47 float clumpfac,
48 float clumppow,
49 float pa_clump,
50 bool use_clump_noise,
51 float clump_noise_size,
52 const struct CurveMapping *clumpcurve);
54 float mat[4][4],
56 float t);
57
58#ifdef __cplusplus
59}
60#endif
static ulong state[N]
struct ParticleChildModifierContext ParticleChildModifierContext
float do_clump(ParticleKey *state, const float par_co[3], float time, const float orco_offset[3], float clumpfac, float clumppow, float pa_clump, bool use_clump_noise, float clump_noise_size, const struct CurveMapping *clumpcurve)
void do_kink(ParticleKey *state, const float par_co[3], const float par_vel[3], const float par_rot[4], float time, float freq, float shape, float amplitude, float flat, short type, short axis, const float obmat[4][4], int smooth_start)
void do_child_modifiers(const ParticleChildModifierContext *modifier_ctx, float mat[4][4], ParticleKey *state, float t)
ParticleThreadContext * thread_ctx
ParticleSimulationData * sim