Added basic CLI equality to vec3 type. Fixed incorrect bounds checking for fogId.