Line.updatePoints does not update its start and end attributes

If i use the updatePoints function of a line shape it updates the grafical representation but not its internal variables for start and end point.

[java] Line testLine = new Line(Vector3f.ZERO, Vector3f.ZERO);
testLine.updatePoints(Vector3f.ZERO, new Vector3f(10, 10, 10));
System.out.println("" + testLine.getEnd());[/java]

This will give you (0,0,0).


nice spot, it probably should update

Is there a place to report such things or is it enough if i write it here ?

Official guideline is this:
though since the (core) devs read the forum as well, it has a good chance that it is seen by one of them.

Sorry for digging this up but:

Line l = new Line(new Vector3f(0f,0f,0f), new Vector3f(1f,1f,1f));
l.updatePoints(new Vector3f(2f,2f,2f), new Vector3f(3f,3f,3f));


(0.0, 0.0, 0.0)
(1.0, 1.0, 1.0)
(0.0, 0.0, 0.0)
(1.0, 1.0, 1.0)

I was expecting:

(0.0, 0.0, 0.0)
(1.0, 1.0, 1.0)
(2.0, 2.0, 2.0)
(3.0, 3.0, 3.0)

Is this somehow deprecated or am I doing something wrong?
Its version 3.2 on Android.

Looks like the line class has a bug in that it doesn’t retain the values passed to updatePoints() but it does update the mesh. So the line will look right but getStart() and getEnd() will be incorrect.

…which is exactly what the first post in this thread states. I guess no one ever submitted a patch because it’s a relatively minor issue.

Oh… I completly missed this part:

I just found this thread, because my (graphical) lines are not updated.
So its probably my mistake after all and dug out this thread for no reason, sry.