Comparison of vectors
Posted: Sun Sep 21, 2014 9:15 am
It would be quite useful to support comparison operators (==, !=, maybe also <, <=, >, >=) on vectors. E.g. for
ZGE reports "Invalid datatype for jump" syntax error now.
Code: Select all
vec3 a = vector3(0, 0, 0),b = vector3(0,0,0);
if(a == b) trace("equals");