Is there any reason why the default constructors do not "work" btw? Is the default constructor used anywhere?
Seems to me like it would make more sense to implement it like Transform.identity since that does what I would expect most people to expect the default constructor to do. I mean, it would just be an alias to Transform.identity more or less, but it would make the code work more like C++ where the default constructors seem to be used in the examples.
public Transform()
{
m00 = 1;
m01 = 0;
m02 = 0;
m10 = 0;
m11 = 1;
m12 = 0;
m20 = 0;
m21 = 0;
m22 = 1;
}
However, maybe I'm missing something important about struct handling?