Comparisons and truth
Last Updated By:
about 1 year ago
12 months ago
This spreadsheet should be read row-wise, i.e.
null entity != zero vector, but
zero vector == null entity.
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.