MCPcopy Create free account
hub / github.com/PerroEngine/Perro / eval_particle

Method eval_particle

perro_source/core/perro_particle_math/src/lib.rs:87–93  ·  view source on GitHub ↗
(
        &self,
        input: &ParticleEvalInput<'_>,
        stack: &mut Vec<f32>,
    )

Source from the content-addressed store, hash-verified

85 pub fn eval(&self, t: f32, life: f32, params: &[f32], stack: &mut Vec<f32>) -> Option<f32> {
86 eval_ops(&self.ops, t, life, params, stack)
87 }
88
89 pub fn eval_particle(
90 &self,
91 input: &ParticleEvalInput<'_>,
92 stack: &mut Vec<f32>,
93 ) -> Option<f32> {
94 eval_ops_particle(&self.ops, input, stack)
95 }
96

Callers 3

hash_function_worksFunction · 0.80
eval_compiled_exprMethod · 0.80

Calls 1

eval_ops_particleFunction · 0.85

Tested by 2

hash_function_worksFunction · 0.64