The reason why it was sending you an error is because after calling `drawVectors();` in `init()` which is a function called before the creation and initialization of `g_sceneControl`, however moving that statement back to it's original place doesn't seem to be working.

As a side note, can you explain me when is the following condition true `g_sceneCamera.position.x == 0 && g_sceneCamera.position.y==0 && g_sceneCamera.position.z==0`? or why is this in place?