Open mahlerni opened 9 years ago
What you are suggesting would return an element not a column.
Actually you may be right! I forgot about Vector4 columns[4]; in Mat4.h
@mahlerni It totally should, I wrote that code to demonstrate how not to do it. Really the method shouldn't even exist, since columns
is public. It could be kept the way you rewrote it, but returning a reference.
Shouldn't this
be this instead?
(mat4.h)