When using the Vec3 constructor I have noticed that I cant use floating point values for the x coordinate only. Is this deliberate or am I just doing it wrong?
return Vec3(3.45, 1, 1); returns [3, 1, 1];
However;
returning Vec3(3.45, 1.0, 1.1) returns something like [3.450000,1, 1.100000]
Seems like a small bug. Took me a while to discover that when I wanted a vector of (3.5, 0, 0) I had to write Vec3(3.5, 0.0 , 0.0); or I would get only integer values.