I am trying to define the buffer data for WebGL and want to have in there something that encodes the fact that an object might be rotating. So it makes me think of angular momentum. So if you have something like that, like the angular momentum or some other rotation "vector" or something, you could use that to calculate a rotation matrix, and then go from there.
The problem is I don't know what that rotation thing is, angular momentum or something else. I keep searching rotation vector, but I'm not sure that's it. Wondering if you have any suggestions on how to have rotation encoded (the rotation force), before it is in a matrix form. This is just for 2D rotation.