myvec = new vec2(2,1) show_debug_message("the current vector is: "); show_debug_message(myvec); myvec.normalize(); show_debug_message("now it's:"); show_debug_message ...
The following is the normalize code of GLM. Unfortunately an exception is going to be thrown out if the vector is likely to be zero. It's not good to throw the exception which crushes the program. I ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results