Comment

Comment by coldtea

  p = p + v * dt;
  v = v + a * dt;
How is this "single assignment"? Aren't v and p assigned values already before those lines? Or do they have some default initial value for their type that doesn't count as an assignment?
parent coldtea 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton