Which type fields? Only you can say. That's the great thing about coding - you are in control!
I think the nice thing about types is that as you work and expand or add a function it becomes obvious that you need a new variable.
It's so easy to add a new variable to a type, then carry on working.
Also, I can't thank the person enough on these forums who stated the obvious - don't use globals, use types.
So I now have:
Camera\x
Camera\y
Camera\z
etc, etc.
What a difference that has made to my debugging.
I think the nice thing about types is that as you work and expand or add a function it becomes obvious that you need a new variable.
It's so easy to add a new variable to a type, then carry on working.
Also, I can't thank the person enough on these forums who stated the obvious - don't use globals, use types.
So I now have:
Camera\x
Camera\y
Camera\z
etc, etc.
What a difference that has made to my debugging.