Blitz3D C++ geometry code

Blitz3D Forums/Blitz3D Programming/Blitz3D C++ geometry code

yeah, that is one of the advantages (or disadvantages since it makes a temp var that may not be released at all.) of C++, since what that will compile to is basically this.

MatrixRoll(Matrix(q));
' which the compiler then changes to
Matrix tmp = Matrix(q);
MatrixRoll(tmp);


which is why some programmers, make sure they do the conversion themselves, since then they can keep account of ALL vars that are created.