nick87720z

Results 90 comments of nick87720z

Tried some code analysis - it seems no need to go far to see where is difference. There is notable difference between x and y angle calc code - these...

It seems, that horizontal orientation doesn't follow TargetingSpeed at all (probably all code about NeedAngle_y has no effect). Even with this: `float NeedAngle_y = sharedWeapon->Rotation.y + 40.0f * 0 *...

o_O How? I learned slighter deeper - as far as I understand, x,y,z in sModel3D::Rotation should be angle in different planes, is not it? (btw, first time I misinterpreted sVECTOR3D...

``` float NeedAngle_y = sharedWeapon->Rotation.y + 40.0f * TargetingSpeed * TimeDelta; if (NeedAngle_y > NeedAngle.y) { NeedAngle_y = NeedAngle.y; } ``` This is right that code, which I described as...

Found the fix, before even trying to debug. Hint: swap signs between comparisons: `if (sharedWeapon->Rotation.y < NeedAngle.y) {` `if (sharedWeapon->Rotation.y > NeedAngle.y) {` I came to this after doing more...

Looks like place for optimizing. Bit ops could be used to treat ally and player as some common class (more exactly - two fields, faction number and player/or_not field). Edit:...

First change, that are found (from start): ``` commit 944259eccba54f3e644ec765db75ac3df353943d Author: Mikhail Kurinnoi Date: Tue Oct 16 13:09:43 2012 +0000 Fixed bug with planets rendering, alpha test added. Revised all...

> Streaming the preview could be tricky. From own experience - I noticed, when android phone is connected in file view mode, both PC and phone software have access to...

> `alsactl monitor` = `amixer events` This looks more convenient than using alsactl. Using `alsactl monitor`, single `amixer controls` run is still necessary just to get proper channel ID to...

tint2 & dunst (probably not best way for dict output). By some reason dunst doesn't display icons from dunstify & notify-send, so I employed utf8 emoji. https://gist.github.com/nick87720z/3d020eb3236dc47673388d6501f1c8d0 ![tint2+dunst_2021-05-20_16-05-33-opt](https://user-images.githubusercontent.com/3896190/118971741-370a1d80-b989-11eb-9e4e-daf106f4a4e2.png)