Comparison of vectors

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Comparison of vectors

Post by Rado1 »

It would be quite useful to support comparison operators (==, !=, maybe also <, <=, >, >=) on vectors. E.g. for

Code: Select all

vec3 a = vector3(0, 0, 0),b = vector3(0,0,0);
if(a == b) trace("equals");
ZGE reports "Invalid datatype for jump" syntax error now.
Post Reply