Login
Create

Comparisons and truth Last updated November 06, 2020

Info

You can find the spreadsheet for this topic here or reference the image below. The code for the mode used to gather data is available at this git repo.

This spreadsheet should be read row-wise, i.e. null entity != zero vector, but zero vector == null entity.

The information in this image was gathered on November 6th 2020. A test on the PTR as of that date resulted in identical results.

Uses

You might be able to abbreviate your actions by comparing between data types, especially regarding whether a variable is true or false. For example, if you want to check whether or not A is the zero vector, you could write A == TRUE or simply A instead of A == (0, 0, 0).

This resource also tells you how uninitialised variables will behave in comparisons.

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord