What is the default z axis value in OF?

Hi, I want to know what the default z axis value when the z value is not set.

For example, if I do

ofTranslate(50,50); or ofDrawRectangle(50,50,100,100); or ofPoint(50,50);

Then, what would the z axis value be?

I’ve always thought it is set to zero, but many examples in OF seem to use 1.0 for z axis.

Can anyone please clarify this for me?

the default if you don’t specify anything is 0

1 Like

Thank you!!