The normal field is currently a normal of the face the particle is located at. But this is a duplicated information (the normal is stored in the Face object already), neither normal is a property of a particle in any way. So, the field must be removed, the some_particle->map_node->get_face()->get_normal() expression should be used to retrieve a normal given a particle
The
normal
field is currently a normal of the face the particle is located at. But this is a duplicated information (the normal is stored in theFace
object already), neithernormal
is a property of a particle in any way. So, the field must be removed, thesome_particle->map_node->get_face()->get_normal()
expression should be used to retrieve a normal given a particlehttps://github.com/physarumAdv/minds_crawl/blob/f4dc1c99fcceee8f8019a9a4871323e15fafaee9/src/simulation_objects/Particle.cuh#L150-L151