Vec3.getX

float getX()

Retrieves the first component of the given vector v.

Returns

the value of the first component of the vector