On 2011-07-06 04:39, Jose Armando Garcia wrote:
First, you should always try to simplify the problem when asking for help. Not many people want to read a lot of code to find the issue.
That's understandable indeed, though I haven't been able to distinguish what's the exact property of the structure that is causing this error, otherwise I would have gladly used a short sample.
Secondly, I just glanced at the code and couldn't find a constructor that takes 3 arguments (floats).
How facile of me to forget. I've accidentally used the constructor of a nearly identic structure except that there is also an Z-axis (3d Vector). The two structures are practically the same except that one takes an additional parameter in the constructor (z-axis). The problem though, lies within both of these structures (presumably because they are so similar). None of them can be declared const or immutable. So do please ignore the last parameter.
