Blender V5.0
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
8
9#pragma once
10
11#include "BKE_particle.h"
12
13struct CurveMapping;
14
20 const float *par_co; /* float3 */
21 const float *par_vel; /* float3 */
22 const float *par_rot; /* float4 */
23 const float *par_orco; /* float3 */
24 const float *orco; /* float3 */
27
29 const float par_co[3],
30 const float par_vel[3],
31 const float par_rot[4],
32 float time,
33 float freq,
34 float shape,
35 float amplitude,
36 float flat,
37 short type,
38 short axis,
39 const float obmat[4][4],
40 int smooth_start);
42 const float par_co[3],
43 float time,
44 const float orco_offset[3],
45 float clumpfac,
46 float clumppow,
47 float pa_clump,
48 bool use_clump_noise,
49 float clump_noise_size,
50 const struct CurveMapping *clumpcurve);
52 float mat[4][4],
54 float t);
static ulong state[N]
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