ColinGilbert / noobwerkz-engine

My happy playground of programmer fun.
Apache License 2.0
20 stars 3 forks source link

Use of the [] operator on the math container classes causes a warning #4

Open ColinGilbert opened 9 years ago

ColinGilbert commented 9 years ago

Using [] to access values in the vec2, ve3, vec4, mat3, and mat4 classes causes a "Passing xxx as 'this' argument of xxx discards qualifiers. Current workaround is to explicity use the member array.