Vector4f .set() .setX() .setY() .setZ() .setW()

Can anyone confirm that these are working properly?

Vector2f - no issues
Vector3f - no issues
Vector4f - Not storing the values passed to it

I think you must be mistaken.

The source for Vector4f has:
[java]public Vector4f setX(float x) {
this.x = x;
return this;

Not sure how that can be doing anything strange.

1 Like