*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 246 seconds) | 02:09 | |
tupone | allejo: rotate is rotating all around 0,0 or around the middle of the object | 06:17 |
---|---|---|
tupone | if xMin is 100, xMax 110, yMin=1200, yMin=1210 what 90 degree rotate? it is exchangin x with y ? | 06:19 |
allejo | rotate middle of the object, that's the bzfs way of doing rotations | 06:23 |
tupone | so exchanging x with y does not work | 06:28 |
tupone | unless the middle of the box is in 0,0 | 06:28 |
allejo | hmm give me a sec. i know i did the math for this at some point | 06:38 |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 06:42 | |
tupone | but what are the meaning of that coordinates (xMin,yMin) are the south West coordinate of the rotated box? or these are before rotating ? | 06:50 |
allejo | they're the values before rotating | 06:58 |
allejo | so your example if the coordinates would translate to an object that is: "position 105 1205 0" and "size 5 5 5" (hypothetically added a zMin and zMax) | 06:59 |
tupone | if you rotate by 90 degree it is the same as the size parameters exchange, not the position | 07:01 |
tupone | the absolute coordinate will not, and the position | 07:02 |
allejo | I am really doubting my math now | 07:08 |
allejo | I see i made a mistake with the debug message to translate bbox coordinates, so I wouldn't put it past me to mess up the 90/270 rotation now | 07:09 |
allejo | yup, can confirm the math is wrong, just redid it | 07:25 |
allejo | in my original testing, the object I was testing that with happened to be 0,0 | 07:26 |
* allejo sighs | 07:26 | |
allejo | pushing up a fix rn | 07:44 |
BZNotify | bzflag: allejo created branch fix/custom-zone-rot-calc (https://github.com/BZFlag-Dev/bzflag/commit/552f0b28f2f1): | 07:51 |
BZNotify | fix/custom-zone-rot-calc @ bzflag: allejo 552f0b: Fix incorrect rotation for API custom zones (https://github.com/BZFlag-Dev/bzflag/commit/552f0b28f2f1915a7352621c07d7707966d84f24) | 07:51 |
BZNotify | bzflag: allejo opened pull request #307 "Fix incorrect rotation for API custom zones" (https://github.com/BZFlag-Dev/bzflag/pull/307) | 07:51 |
BZNotify | bzflag: allejo review_requested pull request #307 | 07:51 |
allejo | updating our Homebrew configuration to support both x86_64 and arm64: https://github.com/Homebrew/homebrew-cask/pull/121221 | 08:23 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 09:51 | |
tupone | reviewed but BZNotify is sleeping | 11:05 |
*** Optic_Delusion <Optic_Delusion!~Optic_Del@pool-71-182-149-43.pitbpa.fios.verizon.net> has quit IRC (Ping timeout: 272 seconds) | 11:08 | |
*** Optic_Delusion <Optic_Delusion!~Optic_Del@pool-71-182-149-43.pitbpa.fios.verizon.net> has joined #bzflag | 11:10 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 14:59 | |
BZNotify | bzflag: atupone opened pull request #308 "Rewrote check point in zone" (https://github.com/BZFlag-Dev/bzflag/pull/308) | 17:12 |
BZNotify | bzflag: atupone review_requested pull request #308 "Rewrote check point in zone" (https://github.com/BZFlag-Dev/bzflag/pull/308) | 17:12 |
*** tupone <tupone!~tupone@gentoo/developer/tupone> has quit IRC (Quit: leaving) | 19:28 | |
*** tupone <tupone!~tupone@gentoo/developer/tupone> has joined #bzflag | 19:28 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!