[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [SPAM: 6.600] Re: [pygame] Re: removing 'experimental' notice from pygame.math



Hi,

here is a PR for Vector changes from our discussion here (and elsewhere).
https://github.com/pygame/pygame/pull/416


The one breakage is for when people were doing:
  - Vector2(1), which used to give Vector2(1, 0), and now gives Vector2(1, 1).
  - Vector3(1), which used to give Vector3(1, 0, 0), or Vector3(1,2) which used to give Vector3(1,2,0).


This should be the last of the changes to the Vector stuff for now to be released in 1.9.4.
Other things can be added later without breaking backwards compatibility.


ciao,


On Sun, Mar 4, 2018 at 1:32 AM, Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
Russell Jones wrote:
IDK about physics, but AIUI, Z points from side to side, Y points down and X points diagonally; it's Λ that points up.

Only if your computer screen is oriented vertically.
If you're using a tablet in your lap, Λ points forward
and Y points backwards.

So obviously the code should interrogate the orientation
sensor of the device it's running on, if it has one, to
figure out the correct naming of the unit vector constants.

--
Greg