IRC logs of Libera.Chat #BZFlag for Thursday, 2022-03-31

*** 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
tuponeallejo: rotate is rotating all around 0,0 or around the middle of the object06:17
tuponeif xMin is 100, xMax 110, yMin=1200, yMin=1210 what 90 degree rotate? it is exchangin x with y ?06:19
allejorotate middle of the object, that's the bzfs way of doing rotations 06:23
tuponeso exchanging x with y does not work06:28
tuponeunless the middle of the box is in 0,006:28
allejohmm give me a sec. i know i did the math for this at some point06:38
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)06:42
tuponebut 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
allejothey're the values before rotating06:58
allejoso 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
tuponeif you rotate by 90 degree it is the same as the size parameters exchange, not the position07:01
tuponethe absolute coordinate will not, and the position07:02
allejoI am really doubting my math now07:08
allejoI 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 now07:09
allejoyup, can confirm the math is wrong, just redid it07:25
allejoin my original testing, the object I was testing that with happened to be 0,007:26
* allejo sighs07:26
allejopushing up a fix rn07:44
BZNotifybzflag: allejo created branch fix/custom-zone-rot-calc (https://github.com/BZFlag-Dev/bzflag/commit/552f0b28f2f1):07:51
BZNotifyfix/custom-zone-rot-calc @ bzflag: allejo 552f0b: Fix incorrect rotation for API custom zones (https://github.com/BZFlag-Dev/bzflag/commit/552f0b28f2f1915a7352621c07d7707966d84f24)07:51
BZNotifybzflag: allejo opened pull request #307 "Fix incorrect rotation for API custom zones" (https://github.com/BZFlag-Dev/bzflag/pull/307)07:51
BZNotifybzflag: allejo review_requested pull request #307 07:51
allejoupdating our Homebrew configuration to support both x86_64 and arm64: https://github.com/Homebrew/homebrew-cask/pull/12122108:23
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag09:51
tuponereviewed but BZNotify is sleeping11: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 #bzflag11:10
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag14:59
BZNotifybzflag: atupone opened pull request #308 "Rewrote check point in zone" (https://github.com/BZFlag-Dev/bzflag/pull/308)17:12
BZNotifybzflag: 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 #bzflag19:28

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!