Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  radius of individual particles at runtime
#5
(11-11-2021, 12:26 AM)josemendez Wrote: That’s because vectors are structs (value types) so you cannot do this:

solver.principalRadii[index].Set(x,y,z,w);

As that would modify a temporary value. Same applies to any array of structs in C#.
Thanks, good to know
Reply


Messages In This Thread
RE: radius of individual particles at runtime - by burspa - 11-11-2021, 12:35 AM