WIP: PrForwardTrack: remove need for manual indexing & union
- instead, define a dedicated
Data
type with various, explicit SOA arrays - adapt accesors to use the above arrays
As a result, it is easier to verify that the various accessors are implemented correctly,
and the need for a union is removed. This also removes undefined behavior in copy_back
which would, for the float
data, would read/write to the union using the int
member.
please do not merge until !2561 (merged) has been merged first, and this is subsequently rebased...
Edited by Gerhard Raven